@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix tiktokadsvcampaigns: <https://relay.inferal.com/ontology/tiktokadsvcampaigns/> .
@prefix tsps: <https://relay.inferal.com/ontology/typespec/shapes/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://ontology.inferal.com/modules/json-values/ArrayShape> a sh:NodeShape ;
    rdfs:label "array shape" ;
    rdfs:comment "Validates JSON array elements, reverse array membership links, and contiguous element indexes." ;
    sh:property [ sh:class <https://ontology.inferal.com/modules/json-values/Element> ;
            sh:path <https://ontology.inferal.com/modules/json-values/hasElement> ] ;
    sh:sparql [ sh:message "Array elementIndex values must be unique within one JSON array." ;
            sh:select """
            PREFIX : <https://ontology.inferal.com/modules/json-values/>
            SELECT $this ?index WHERE {
                ?left :elementOfArray $this ;
                    :elementIndex ?index .
                ?right :elementOfArray $this ;
                    :elementIndex ?index .
                FILTER(?left != ?right)
            }
        """ ],
        [ sh:message "A hasElement link must point to an element whose elementOfArray is the same JSON array." ;
            sh:select """
            PREFIX : <https://ontology.inferal.com/modules/json-values/>
            SELECT $this ?element ?declaredArray WHERE {
                $this :hasElement ?element .
                OPTIONAL { ?element :elementOfArray ?declaredArray . }
                FILTER(!BOUND(?declaredArray) || ?declaredArray != $this)
            }
        """ ],
        [ sh:message "Array elementIndex values must be contiguous from zero to length minus one." ;
            sh:select """
            PREFIX : <https://ontology.inferal.com/modules/json-values/>
            SELECT $this WHERE {
                {
                    SELECT $this (COUNT(DISTINCT ?element) AS ?count) (MAX(?index) AS ?maxIndex) WHERE {
                        ?element :elementOfArray $this ;
                            :elementIndex ?index .
                    }
                    GROUP BY $this
                }
                FILTER(?count > 0 && ?maxIndex != (?count - 1))
            }
        """ ] ;
    sh:targetClass <https://ontology.inferal.com/modules/json-values/Array> .

<https://ontology.inferal.com/modules/json-values/BooleanShape> a sh:NodeShape ;
    rdfs:label "boolean shape" ;
    rdfs:comment "Validates the required boolean value of JSON boolean resources." ;
    sh:property [ sh:datatype xsd:boolean ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path <https://ontology.inferal.com/modules/json-values/booleanValue> ] ;
    sh:targetClass <https://ontology.inferal.com/modules/json-values/Boolean> .

<https://ontology.inferal.com/modules/json-values/ElementShape> a sh:NodeShape ;
    rdfs:label "element shape" ;
    rdfs:comment "Validates JSON array element ownership, index, value, and matching forward hasElement links." ;
    sh:property [ sh:class <https://ontology.inferal.com/modules/json-values/Value> ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path <https://ontology.inferal.com/modules/json-values/elementValue> ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:minInclusive 0 ;
            sh:path <https://ontology.inferal.com/modules/json-values/elementIndex> ],
        [ sh:class <https://ontology.inferal.com/modules/json-values/Array> ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path <https://ontology.inferal.com/modules/json-values/elementOfArray> ] ;
    sh:sparql [ sh:message "An elementOfArray assertion must be backed by a forward hasElement assertion." ;
            sh:select """
            PREFIX : <https://ontology.inferal.com/modules/json-values/>
            SELECT $this ?array WHERE {
                $this :elementOfArray ?array .
                FILTER NOT EXISTS { ?array :hasElement $this . }
            }
        """ ] ;
    sh:targetClass <https://ontology.inferal.com/modules/json-values/Element> .

<https://ontology.inferal.com/modules/json-values/MemberShape> a sh:NodeShape ;
    rdfs:label "member shape" ;
    rdfs:comment "Validates JSON object member ownership, name, value, optional index, and matching forward hasMember links." ;
    sh:property [ sh:class <https://ontology.inferal.com/modules/json-values/Object> ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path <https://ontology.inferal.com/modules/json-values/memberOfObject> ],
        [ sh:datatype xsd:integer ;
            sh:maxCount 1 ;
            sh:minInclusive 0 ;
            sh:path <https://ontology.inferal.com/modules/json-values/memberIndex> ],
        [ sh:class <https://ontology.inferal.com/modules/json-values/Value> ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path <https://ontology.inferal.com/modules/json-values/memberValue> ],
        [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path <https://ontology.inferal.com/modules/json-values/memberName> ] ;
    sh:sparql [ sh:message "A memberOfObject assertion must be backed by a forward hasMember assertion." ;
            sh:select """
            PREFIX : <https://ontology.inferal.com/modules/json-values/>
            SELECT $this ?object WHERE {
                $this :memberOfObject ?object .
                FILTER NOT EXISTS { ?object :hasMember $this . }
            }
        """ ] ;
    sh:targetClass <https://ontology.inferal.com/modules/json-values/Member> .

<https://ontology.inferal.com/modules/json-values/NullShape> a sh:NodeShape ;
    rdfs:label "null shape" ;
    rdfs:comment "Validates that JSON null is represented by the singleton json:null individual." ;
    sh:sparql [ sh:message "The JSON null value must be represented by the singleton json:null individual." ;
            sh:select """
            PREFIX : <https://ontology.inferal.com/modules/json-values/>
            SELECT $this WHERE {
                FILTER($this != :null)
            }
        """ ] ;
    sh:targetClass <https://ontology.inferal.com/modules/json-values/Null> .

<https://ontology.inferal.com/modules/json-values/NumberShape> a sh:NodeShape ;
    rdfs:label "number shape" ;
    rdfs:comment "Validates the required JSON number lexical form for JSON number resources." ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path <https://ontology.inferal.com/modules/json-values/numberLexicalForm> ;
            sh:pattern "^-?(0|[1-9][0-9]*)(\\.[0-9]+)?([eE][+-]?[0-9]+)?$" ] ;
    sh:targetClass <https://ontology.inferal.com/modules/json-values/Number> .

<https://ontology.inferal.com/modules/json-values/ObjectShape> a sh:NodeShape ;
    rdfs:label "object shape" ;
    rdfs:comment "Validates JSON object members, reverse object membership links, and member index consistency." ;
    sh:property [ sh:class <https://ontology.inferal.com/modules/json-values/Member> ;
            sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ] ;
    sh:sparql [ sh:message "Object memberIndex values must be all-or-none within one JSON object." ;
            sh:select """
            PREFIX : <https://ontology.inferal.com/modules/json-values/>
            SELECT $this ?member WHERE {
                ?indexed :memberOfObject $this ;
                    :memberIndex ?index .
                ?member :memberOfObject $this .
                FILTER NOT EXISTS { ?member :memberIndex ?memberIndex . }
            }
        """ ],
        [ sh:message "Object memberIndex values must be unique within one JSON object." ;
            sh:select """
            PREFIX : <https://ontology.inferal.com/modules/json-values/>
            SELECT $this ?index WHERE {
                ?left :memberOfObject $this ;
                    :memberIndex ?index .
                ?right :memberOfObject $this ;
                    :memberIndex ?index .
                FILTER(?left != ?right)
            }
        """ ],
        [ sh:message "A hasMember link must point to a member whose memberOfObject is the same JSON object." ;
            sh:select """
            PREFIX : <https://ontology.inferal.com/modules/json-values/>
            SELECT $this ?member ?declaredObject WHERE {
                $this :hasMember ?member .
                OPTIONAL { ?member :memberOfObject ?declaredObject . }
                FILTER(!BOUND(?declaredObject) || ?declaredObject != $this)
            }
        """ ] ;
    sh:targetClass <https://ontology.inferal.com/modules/json-values/Object> .

<https://ontology.inferal.com/modules/json-values/StringShape> a sh:NodeShape ;
    rdfs:label "string shape" ;
    rdfs:comment "Validates the required lexical string value of JSON string resources." ;
    sh:property [ sh:datatype xsd:string ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path <https://ontology.inferal.com/modules/json-values/stringValue> ] ;
    sh:targetClass <https://ontology.inferal.com/modules/json-values/String> .

<https://ontology.inferal.com/modules/json-values/ValueShape> a sh:NodeShape ;
    rdfs:label "value shape" ;
    rdfs:comment "Validates JSON value resources as exactly one JSON object, array, string, number, boolean, or null value and rejects recursive containment cycles." ;
    sh:sparql [ sh:message "JSON value graphs must be acyclic through object member values and array element values." ;
            sh:select """
            PREFIX : <https://ontology.inferal.com/modules/json-values/>
            SELECT $this WHERE {
                $this (:hasMember/:memberValue|:hasElement/:elementValue)+ $this .
            }
        """ ] ;
    sh:targetClass <https://ontology.inferal.com/modules/json-values/Array>,
        <https://ontology.inferal.com/modules/json-values/Boolean>,
        <https://ontology.inferal.com/modules/json-values/Null>,
        <https://ontology.inferal.com/modules/json-values/Number>,
        <https://ontology.inferal.com/modules/json-values/Object>,
        <https://ontology.inferal.com/modules/json-values/String>,
        <https://ontology.inferal.com/modules/json-values/Value> ;
    sh:xone [ rdf:first [ sh:class <https://ontology.inferal.com/modules/json-values/Object> ] ;
            rdf:rest [ rdf:first [ sh:class <https://ontology.inferal.com/modules/json-values/Array> ] ;
                    rdf:rest [ rdf:first [ sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
                            rdf:rest [ rdf:first [ sh:class <https://ontology.inferal.com/modules/json-values/Number> ] ;
                                    rdf:rest [ rdf:first [ sh:class <https://ontology.inferal.com/modules/json-values/Boolean> ] ;
                                            rdf:rest [ rdf:first [ sh:class <https://ontology.inferal.com/modules/json-values/Null> ] ;
                                                    rdf:rest () ] ] ] ] ] ] .

tiktokadsvcampaigns:CampaignGetResponseDataListShape a sh:NodeShape ;
    sh:property [ sh:datatype xsd:string ;
            sh:description "Campaign ID." ;
            sh:maxCount 1 ;
            sh:name "campaign id" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/campaignId> ],
        [ sh:datatype xsd:string ;
            sh:description "Returned for Promote campaigns only. <br>Not returned for non-Promote campaigns. <br><br>The origin (source) of the campaign. <br><br>Enum values: <ul><li>`PROMOTE`: The campaign is a Promote campaign created through the TikTok mobile App. </li></ul><br>Only the following settings can be retrieved for a Promote campaign (`campaign_system_origin` is `PROMOTE`): <ul><li>`advertiser_id`</li><li>`campaign_id` </li><li>`create_time`</li><li>`campaign_name`</li><li> `operation_status`</li><li> `secondary_status` </li></ul>" ;
            sh:maxCount 1 ;
            sh:name "campaign system origin" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/campaignSystemOrigin> ],
        [ sh:datatype xsd:string ;
            sh:description "The Application ID of the promoted app.<br><br> You can get `app_id` by using the [/app/list/](https://ads.tiktok.com/marketing_api/docs?id=1740859313270786) endpoint." ;
            sh:maxCount 1 ;
            sh:name "app id" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/appId> ],
        [ sh:datatype xsd:string ;
            sh:description "The attribution type for the Dedicated Campaign. The type determines which attribution network the target CPA (`conversion_bid_price`) or ROAS (`roas_bid`) at the ad group level is based on. <br><br>Enum values: <ul><li>`SAN`: SAN. </li><li>`SKAN`: SKAN.</li></ul>" ;
            sh:in [ rdf:first "SAN" ;
                    rdf:rest [ rdf:first "SKAN" ;
                            rdf:rest () ] ] ;
            sh:maxCount 1 ;
            sh:name "bid align type" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/bidAlignType> ],
        [ sh:datatype xsd:string ;
            sh:description "Bidding strategy for in-app events. <br><br>For enum values and their descriptions, see [Enumeration - Deep-level Bidding Strategy](https://ads.tiktok.com/marketing_api/docs?id=1737174886619138)." ;
            sh:maxCount 1 ;
            sh:name "deep bid type" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/deepBidType> ],
        [ sh:datatype xsd:boolean ;
            sh:description "Whether to disable SKAN (SKAdNetwork) attribution, Apple's conversion attribution solution for iOS campaigns.<br><br>Enum values:<ul><li>`true`: To disable SKAN attribution. The campaign will not be bound by [Dedicated Campaign quota limits](https://business-api.tiktok.com/portal/docs?id=1752256248260610) and you will be able to retrieve [Self Attribution Network (SAN) metrics](https://business-api.tiktok.com/portal/docs?id=1751443967255553#item-link-SAN%20metrics) for the campaign. However, you cannot retrieve [SKAN reporting metrics](https://business-api.tiktok.com/portal/docs?id=1751443967255553#item-link-SKAN%20metrics) for the campaign. Learn more about [SAN integration](https://ads.tiktok.com/help/article/about-self-attribution-transition). </li><li>`false`: To enable SKAN attribution. The campaign will be bound by [Dedicated Campaign quota limits](https://business-api.tiktok.com/portal/docs?id=1752256248260610) and you will be able to retrieve [SKAN metrics](https://business-api.tiktok.com/portal/docs?id=1751443967255553#item-link-SKAN%20metrics) for the campaign.</li></ul>" ;
            sh:maxCount 1 ;
            sh:name "disable skan campaign" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/disableSkanCampaign> ],
        [ sh:datatype xsd:string ;
            sh:description "Indicates the status of App Profile Page. <br><br>Enum values: `INVALID`, `UNSET`, `ON`, `OFF`." ;
            sh:in [ rdf:first "INVALID" ;
                    rdf:rest [ rdf:first "UNSET" ;
                            rdf:rest [ rdf:first "ON" ;
                                    rdf:rest [ rdf:first "OFF" ;
                                            rdf:rest () ] ] ] ] ;
            sh:maxCount 1 ;
            sh:name "campaign app profile page state" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/campaignAppProfilePageState> ],
        [ sh:datatype xsd:string ;
            sh:description "Time at which the campaign was created." ;
            sh:maxCount 1 ;
            sh:name "create time" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/createTime> ],
        [ sh:datatype xsd:boolean ;
            sh:description "Whether the campaign is a Search Ads Campaign. With Search Ads Campaigns, you can select keywords and serve ads within TikTok's search result page. <br><br>Supported values: `true`, `false`." ;
            sh:maxCount 1 ;
            sh:name "is search campaign" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/isSearchCampaign> ],
        [ sh:class <https://ontology.inferal.com/modules/json-values/Number> ;
            sh:description "ROAS goal for Value Optimization." ;
            sh:maxCount 1 ;
            sh:name "roas bid" ;
            sh:node <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/roasBid/json-value-shape> ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/roasBid> ],
        [ sh:datatype xsd:string ;
            sh:description "Returned only when `objective_type` for the campaign is `PRODUCT_SALES` and the product source is configured for the campaign.<br>Product source of the campaign.<br>Enum values: <ul><li>`CATALOG` : Catalog.</li><li>`STORE`: TikTok Shop, or TikTok Showcase. </li></ul>" ;
            sh:in [ rdf:first "CATALOG" ;
                    rdf:rest [ rdf:first "STORE" ;
                            rdf:rest () ] ] ;
            sh:maxCount 1 ;
            sh:name "campaign product source" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/campaignProductSource> ],
        [ sh:datatype xsd:string ;
            sh:description "Campaign automation type.<br><br>Enum values:<ul><li>`MANUAL`: Manual Campaigns.</li><li>`SMART_PLUS`: Smart+ Campaigns.</li><li>`UPGRADED_SMART_PLUS`: Upgraded Smart+ Campaigns, a new automated campaign type. To learn more about Upgraded Smart+ Campaigns, see [Upgraded Smart+ Campaign](https://business-api.tiktok.com/portal/docs?id=1853452461203458).</li></ul>" ;
            sh:in [ rdf:first "MANUAL" ;
                    rdf:rest [ rdf:first "SMART_PLUS" ;
                            rdf:rest [ rdf:first "UPGRADED_SMART_PLUS" ;
                                    rdf:rest () ] ] ] ;
            sh:maxCount 1 ;
            sh:name "campaign automation type" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/campaignAutomationType> ],
        [ sh:datatype xsd:boolean ;
            sh:description "Whether the campaign is an Advanced Dedicated Campaign. Advanced Dedicated Campaigns leverage advanced delivery models that benefit from real-time signals. <br><br>Enum values: `true`, `false`." ;
            sh:maxCount 1 ;
            sh:name "is advanced dedicated campaign" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/isAdvancedDedicatedCampaign> ],
        [ sh:datatype xsd:string ;
            sh:description "App promotion type. <br><br>Enum values: <ul><li>`APP_INSTALL`: App install. Get new users to install your app.</li><li>`APP_RETARGETING`: App retargeting. Re-engage existing users to take action in your app. </li><li>`APP_PREREGISTRATION`: App pre-registration. Get new users to pre-register before your app launches.</li><li>`APP_POSTS_PROMOTION`: App posts promotion. Promote TikTok posts to increase app awareness and measure conversions.</li></ul><br><p><span style=\"color:darkred\"><b>Note</b></span>: Currently, creating App posts promotion campaigns via API is not supported. You can only update or retrieve such campaigns via API." ;
            sh:maxCount 1 ;
            sh:name "app promotion type" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/appPromotionType> ],
        [ sh:datatype xsd:string ;
            sh:description "The mode that determines which SKAN 4.0 postback you want to secure. <br><br>Enum values: <ul><li> `POSTBACK_WINDOW_MODE1`: This option secures the first postback, which corresponds to the 0-2 day attribution window. The data can take up to 4 days to return, and the campaign will wait for 4 days to release the campaign quota. </li><li>`POSTBACK_WINDOW_MODE2`: This mode secures the first two postbacks, which correspond to the 3-7 day attribution window. The data can take up to 13 days to return, and the campaign will wait for 13 days to release the campaign quota.</li><li>`POSTBACK_WINDOW_MODE3`: This mode secures all three postbacks, which correspond to the 8-35 day attribution window. The data can take up to 41 days to return, and the campaign will wait for 41 days to release the campaign quota. </li></ul><br><p><span style=\"color:darkred\"><b>Note</b></span>: If you have set up Mobile Measurement Partner (MMP) Tracking with <b>Adjust</b>, <b>Airbridge</b>, <b>Appsflyer</b>, <b>Branch</b>, <b>Kochava</b>, or <b>Singular</b> for your App and your MMP SDK version is updated to a SKAN 4.0 supported SDK, you can transition your App to SKAN 4.0 on Events Manager. To learn about how to set up MMP tracking for your App, see [How to Set Up App Attribution in TikTok Ads Manager](https://ads.tiktok.com/help/article/set-up-app-attribution-tiktok-ads-manager?lang=en). To learn more about how to transition your App to SKAN 4.0, see [About SKAN 4.0 and TikTok](https://ads.tiktok.com/help/article/about-skan-4-0-and-tiktok?lang=en) and [How to transition to SKAN 4.0](https://ads.tiktok.com/help/article/how-to-transition-to-skan-4-0)." ;
            sh:maxCount 1 ;
            sh:name "postback window mode" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/postbackWindowMode> ],
        [ sh:datatype xsd:string ;
            sh:description "Campaign name." ;
            sh:maxCount 1 ;
            sh:name "campaign name" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/campaignName> ],
        [ sh:datatype xsd:boolean ;
            sh:description "Whether to use RTA bid. <br><br> Supported values: <ul><li> `true`: enabled.</li><li> `false`: not enabled.</li></ul>" ;
            sh:maxCount 1 ;
            sh:name "rta bid enabled" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/rtaBidEnabled> ],
        [ sh:datatype xsd:string ;
            sh:description "Campaign type (application or landing page). <br><br>Enum values: `APP`(application), `LANDING_PAGE`(Landing page)." ;
            sh:maxCount 1 ;
            sh:name "objective" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/objective> ],
        [ sh:datatype xsd:string ;
            sh:description "The new objective type.<br><br>Enum value: `SALES`.<br><br>Use this field to create a campaign with the Sales objective, the combined objective for Website Conversions and Product Sales objectives. Learn more about [the Sales objective](https://business-api.tiktok.com/portal/docs?id=)." ;
            sh:maxCount 1 ;
            sh:name "virtual objective type" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/virtualObjectiveType> ],
        [ sh:datatype xsd:string ;
            sh:description "When `objective_type` is specified as `RF_REACH`, this field specifies the specific Reservation campaign type.<br><br>Enum values:<ul><li>`STANDARD`: Reach & Frequency campaign. </li><li> `PULSE`: TikTok Pulse campaign. </li><li>`TOPVIEW`: TopView campaign.</li></ul>" ;
            sh:maxCount 1 ;
            sh:name "rf campaign type" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/rfCampaignType> ],
        [ sh:datatype xsd:string ;
            sh:description "Bidding strategy on the campaign level." ;
            sh:maxCount 1 ;
            sh:name "bid type" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/bidType> ],
        [ sh:class <https://ontology.inferal.com/modules/json-values/Array> ;
            sh:description "Special ad categories. <br><br>Enum values:<ul><li>`HOUSING`: Ads for real estate listings, homeowners insurance, mortgage loans or other related opportunities.</li><li>`EMPLOYMENT`: Ads for job offers, internship, professional certification programs or other related opportunities.</li><li>`CREDIT`: Ads for credit card offers, auto loans, long-term financing or other related opportunities.</li></ul><br><p><span style=\"color:darkred\"><b>Note</b></span>: <ul><li>Using special ad categories in Shopping Ads with campaign product source as Catalog and in Shopping Ads with campaign product source as non-Catalog are currently separate allowlist-only features. If you would like to access them, please contact your TikTok representative.</li><li>This field is generally available to advertisers registered in America or Canada. Advertisers who are not registered in America or Canada but want to target these countries with special ad categories need to apply for an additional allowlist.</li></ul>" ;
            sh:maxCount 1 ;
            sh:name "special industries" ;
            sh:node <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/specialIndustries/json-value-shape> ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/specialIndustries> ],
        [ sh:datatype xsd:boolean ;
            sh:description "Returned only for campaigns with Campaign Budget Optimization (CBO) enabled. <br><br>Whether CBO is enabled. <br><br>Enum values: `true` (enabled).<br><br>For details about CBO, see [Campaign Budget Optimization](https://ads.tiktok.com/marketing_api/docs?id=1739381757818881).<br><br><p><span style=\"color:darkred\"><b>Note</b></span>: For Smart+ Campaigns or Smart Performance Web Campaigns, the value of this field will be `true` because CBO is enabled by default for these campaigns." ;
            sh:maxCount 1 ;
            sh:name "budget optimize on" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/budgetOptimizeOn> ],
        [ sh:datatype xsd:string ;
            sh:description "Advertiser ID." ;
            sh:maxCount 1 ;
            sh:name "advertiser id" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/advertiserId> ],
        [ sh:datatype xsd:string ;
            sh:description "Campaign status (Secondary status). <br><br>For enum values, see [Enumeration- Campaign Status - Secondary Status](https://ads.tiktok.com/marketing_api/docs?id=1737174886619138). <br><p><span style=\"color:darkred\"><b>Note</b></span>: This field is not returned in the sandbox environment because the campaign is not actually delivered." ;
            sh:maxCount 1 ;
            sh:name "secondary status" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/secondaryStatus> ],
        [ sh:datatype xsd:string ;
            sh:description "PO (purchase order) number.<br>PO numbers are useful for invoice tracking and reconciliation.<br><br>[Learn more about PO numbers on monthly invoices](https://ads.tiktok.com/help/article/update-po-number-on-monthly-invoices)." ;
            sh:maxCount 1 ;
            sh:name "po number" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/poNumber> ],
        [ sh:datatype xsd:string ;
            sh:description "Time at which the campaign was modified." ;
            sh:maxCount 1 ;
            sh:name "modify time" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/modifyTime> ],
        [ sh:datatype xsd:string ;
            sh:description "Optimization goal." ;
            sh:maxCount 1 ;
            sh:name "optimization goal" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/optimizationGoal> ],
        [ sh:datatype xsd:string ;
            sh:description "Sales destination, the destination where you want to drive your sales.<br><br>Enum values: <ul><li>`TIKTOK_SHOP`: TikTok Shop. Drive sales on your TikTok Shop.</li><li>`WEBSITE`: Website. Drive sales on your website.</li><li>`APP`: App. Drive sales on your app (product catalog required).</li><li>`WEB_AND_APP`: Website and app. Drive sales on both your website and your app.</li></ul>" ;
            sh:in [ rdf:first "TIKTOK_SHOP" ;
                    rdf:rest [ rdf:first "WEBSITE" ;
                            rdf:rest [ rdf:first "APP" ;
                                    rdf:rest [ rdf:first "WEB_AND_APP" ;
                                            rdf:rest () ] ] ] ] ;
            sh:maxCount 1 ;
            sh:name "sales destination" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/salesDestination> ],
        [ sh:datatype xsd:string ;
            sh:description "Operation status.<br><br>Enum values:<ul><li>`ENABLE` : The campaign is enabled (in 'ON' status).</li><li>`DISABLE`: The campaign is disabled (in 'OFF' status). </li></ul>" ;
            sh:in [ rdf:first "ENABLE" ;
                    rdf:rest [ rdf:first "DISABLE" ;
                            rdf:rest () ] ] ;
            sh:maxCount 1 ;
            sh:name "operation status" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/operationStatus> ],
        [ sh:datatype xsd:boolean ;
            sh:description "Whether the campaign is a new structure (for the same campaign, the structure of campaign, ad groups and ads are the same)." ;
            sh:maxCount 1 ;
            sh:name "is new structure" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/isNewStructure> ],
        [ sh:datatype xsd:boolean ;
            sh:description "Whether to use your catalog to automatically advertise relevant products or services to people based on their unique interests, intent and actions." ;
            sh:maxCount 1 ;
            sh:name "catalog enabled" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/catalogEnabled> ],
        [ sh:datatype xsd:string ;
            sh:description "Campaign Type, indicates the campaign is a regular campaign or iOS 14 campaign. <br><br>Enum values: `REGULAR_CAMPAIGN`, `IOS14_CAMPAIGN`." ;
            sh:in [ rdf:first "REGULAR_CAMPAIGN" ;
                    rdf:rest [ rdf:first "IOS14_CAMPAIGN" ;
                            rdf:rest () ] ] ;
            sh:maxCount 1 ;
            sh:name "campaign type" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/campaignType> ],
        [ sh:datatype xsd:string ;
            sh:description "Realtime API (RTA) ID, the RTA strategy identifier." ;
            sh:maxCount 1 ;
            sh:name "rta id" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/rtaId> ],
        [ sh:datatype xsd:boolean ;
            sh:description "Whether to use RTA to automatically select products.<br><br>Enum values: <ul><li>`true`: enabled.</li><li>`false`: not enabled. </li></ul>" ;
            sh:maxCount 1 ;
            sh:name "rta product selection enabled" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/rtaProductSelectionEnabled> ],
        [ sh:datatype xsd:string ;
            sh:description "Budget mode. <br><br>Enum values:<ul><li>`BUDGET_MODE_INFINITE`: Unlimited budget.</li><li>`BUDGET_MODE_TOTAL`: Lifetime budget.</li><li>`BUDGET_MODE_DAY` : Daily budget.</li><li>`BUDGET_MODE_DYNAMIC_DAILY_BUDGET`: Dynamic daily budget. It is the average daily budget over a week. Daily costs will not exceed 125% of the average daily budget. Weekly costs will not exceed the average daily budget * 7.</li></ul>" ;
            sh:in [ rdf:first "BUDGET_MODE_INFINITE" ;
                    rdf:rest [ rdf:first "BUDGET_MODE_TOTAL" ;
                            rdf:rest [ rdf:first "BUDGET_MODE_DAY" ;
                                    rdf:rest [ rdf:first "BUDGET_MODE_DYNAMIC_DAILY_BUDGET" ;
                                            rdf:rest () ] ] ] ] ;
            sh:maxCount 1 ;
            sh:name "budget mode" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/budgetMode> ],
        [ sh:datatype xsd:boolean ;
            sh:description "Whether the campaign is an automated campaign type.<br><br>Supported values:<ul><li>`true`: The campaign is a legacy Smart+ Campaign.</li><li>`false`: The campaign is a Manual Campaign or an Upgraded Smart+ Campaign.<ul><li>To determine whether a campaign is a Manual Campaign or an Upgraded Smart+ Campaign, check the returned `campaign_automation_type`.<ul><li>When `campaign_automation_type` is `MANUAL`, the campaign is a Manual Campaign.</li><li>When `campaign_automation_type` is `UPGRADED_SMART_PLUS`, the campaign is an Upgraded Smart+ Campaign.</li></ul></li></ul></li></ul>" ;
            sh:maxCount 1 ;
            sh:name "is smart performance campaign" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/isSmartPerformanceCampaign> ],
        [ sh:class <https://ontology.inferal.com/modules/json-values/Number> ;
            sh:description "Campaign budget" ;
            sh:maxCount 1 ;
            sh:name "budget" ;
            sh:node <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/budget/json-value-shape> ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/budget> ],
        [ sh:datatype xsd:string ;
            sh:description "Advertising objective. <br><br>For enum values, see [Enumeration-Advertising Objectives](https://ads.tiktok.com/marketing_api/docs?id=1737174886619138)." ;
            sh:maxCount 1 ;
            sh:name "objective type" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/objectiveType> ] ;
    sh:targetClass tiktokadsvcampaigns:CampaignGetResponseDataList .

tiktokadsvcampaigns:CampaignGetResponseShape a sh:NodeShape ;
    sh:property [ sh:class tiktokadsvcampaigns:CampaignGetResponseData ;
            sh:maxCount 1 ;
            sh:name "data" ;
            sh:node tiktokadsvcampaigns:CampaignGetResponseDataShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponse/data> ],
        [ sh:datatype xsd:string ;
            sh:description "The response message. For details, see [Appendix - Return Codes](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097)." ;
            sh:maxCount 1 ;
            sh:name "message" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponse/message> ],
        [ sh:datatype xsd:string ;
            sh:description "The log ID of a request, which uniquely identifies the request." ;
            sh:maxCount 1 ;
            sh:name "request id" ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponse/requestId> ],
        [ sh:class <https://ontology.inferal.com/modules/json-values/Number> ;
            sh:description "The response code. For the complete list of response codes and descriptions, see [Appendix - Return Codes](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097)." ;
            sh:maxCount 1 ;
            sh:name "code" ;
            sh:node <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponse/code/json-value-shape> ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponse/code> ] ;
    sh:targetClass tiktokadsvcampaigns:CampaignGetResponse .

tiktokadsvcampaigns:shapes a tsps:ShapeGeneration ;
    tsps:omittedShapeReferenceCount 0 ;
    tsps:shapeReferenceChainLimit 5 .

tiktokadsvcampaigns:CampaignGetResponseDataPageInfoShape a sh:NodeShape ;
    sh:property [ sh:class <https://ontology.inferal.com/modules/json-values/Number> ;
            sh:description "Current page number." ;
            sh:maxCount 1 ;
            sh:name "page" ;
            sh:node <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/page/json-value-shape> ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/page> ],
        [ sh:class <https://ontology.inferal.com/modules/json-values/Number> ;
            sh:description "Total number of results." ;
            sh:maxCount 1 ;
            sh:name "total number" ;
            sh:node <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/totalNumber/json-value-shape> ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/totalNumber> ],
        [ sh:class <https://ontology.inferal.com/modules/json-values/Number> ;
            sh:description "Total pages of results." ;
            sh:maxCount 1 ;
            sh:name "total page" ;
            sh:node <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/totalPage/json-value-shape> ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/totalPage> ],
        [ sh:class <https://ontology.inferal.com/modules/json-values/Number> ;
            sh:description "Paging size." ;
            sh:maxCount 1 ;
            sh:name "page size" ;
            sh:node <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/pageSize/json-value-shape> ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/pageSize> ] ;
    sh:targetClass tiktokadsvcampaigns:CampaignGetResponseDataPageInfo .

tiktokadsvcampaigns:CampaignGetResponseDataShape a sh:NodeShape ;
    sh:property [ sh:class <https://ontology.inferal.com/modules/json-values/Array> ;
            sh:description "A list of campaigns. The returned fields are generated based on the `fields` specified in the request parameters. All fields are returned by default." ;
            sh:maxCount 1 ;
            sh:name "list" ;
            sh:node <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseData/list/json-value-shape> ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseData/list> ],
        [ sh:class tiktokadsvcampaigns:CampaignGetResponseDataPageInfo ;
            sh:maxCount 1 ;
            sh:name "page info" ;
            sh:node tiktokadsvcampaigns:CampaignGetResponseDataPageInfoShape ;
            sh:nodeKind sh:BlankNodeOrIRI ;
            sh:path <https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseData/pageInfo> ] ;
    sh:targetClass tiktokadsvcampaigns:CampaignGetResponseData .

<https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponse/code/json-value-shape> a sh:NodeShape ;
    sh:class <https://ontology.inferal.com/modules/json-values/Number> .

<https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseData/list/json-value-shape> a sh:NodeShape ;
    sh:class <https://ontology.inferal.com/modules/json-values/Array> ;
    sh:property [ sh:maxCount 4096 ;
            sh:minCount 0 ;
            sh:node [ sh:property [ sh:node [ a sh:NodeShape ;
                                    sh:class <https://ontology.inferal.com/modules/json-values/Object> ;
                                    sh:property [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n191 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n195 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n198 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n202 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n211 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n215 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n219 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n223 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n228 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n232 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n236 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n240 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n269 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n273 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n277 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n284 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n288 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n293 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n302 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n306 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n315 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n323 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n327 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n331 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n338 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n342 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n349 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n353 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n357 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n361 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n365 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n369 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n373 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n377 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n381 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n385 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n389 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n176 ],
                                        [ sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ;
                                            sh:qualifiedMaxCount 1 ;
                                            sh:qualifiedValueShape _:c14n411 ],
                                        [ sh:maxCount 4096 ;
                                            sh:node [ sh:or [ rdf:first _:c14n411 ;
                                                            rdf:rest [ rdf:first _:c14n269 ;
                                                                    rdf:rest [ rdf:first _:c14n273 ;
                                                                            rdf:rest [ rdf:first _:c14n277 ;
                                                                                    rdf:rest [ rdf:first _:c14n284 ;
                                                                                            rdf:rest [ rdf:first _:c14n288 ;
                                                                                                    rdf:rest [ rdf:first _:c14n293 ;
                                                                                                            rdf:rest [ rdf:first _:c14n302 ;
                                                                                                                    rdf:rest [ rdf:first _:c14n306 ;
                                                                                                                            rdf:rest [ rdf:first _:c14n315 ;
                                                                                                                                    rdf:rest [ rdf:first _:c14n323 ;
                                                                                                                                            rdf:rest [ rdf:first _:c14n327 ;
                                                                                                                                                    rdf:rest [ rdf:first _:c14n331 ;
                                                                                                                                                            rdf:rest [ rdf:first _:c14n338 ;
                                                                                                                                                                    rdf:rest [ rdf:first _:c14n342 ;
                                                                                                                                                                            rdf:rest [ rdf:first _:c14n349 ;
                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n353 ;
                                                                                                                                                                                            rdf:rest [ rdf:first _:c14n357 ;
                                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n361 ;
                                                                                                                                                                                                            rdf:rest [ rdf:first _:c14n365 ;
                                                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n369 ;
                                                                                                                                                                                                                            rdf:rest [ rdf:first _:c14n373 ;
                                                                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n377 ;
                                                                                                                                                                                                                                            rdf:rest [ rdf:first _:c14n381 ;
                                                                                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n385 ;
                                                                                                                                                                                                                                                            rdf:rest [ rdf:first _:c14n389 ;
                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n176 ;
                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first _:c14n240 ;
                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n236 ;
                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first _:c14n232 ;
                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n228 ;
                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first _:c14n223 ;
                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n219 ;
                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first _:c14n215 ;
                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n211 ;
                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first _:c14n202 ;
                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n198 ;
                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first _:c14n195 ;
                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first _:c14n191 ;
                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first [ sh:property [ sh:not [ sh:in [ rdf:first "advertiser_id" ;
                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "app_id" ;
                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "app_promotion_type" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "bid_align_type" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "bid_type" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "budget" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "budget_mode" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "budget_optimize_on" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "campaign_app_profile_page_state" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "campaign_automation_type" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "campaign_id" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "campaign_name" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "campaign_product_source" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "campaign_system_origin" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "campaign_type" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "catalog_enabled" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "create_time" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "deep_bid_type" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "disable_skan_campaign" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "is_advanced_dedicated_campaign" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "is_new_structure" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "is_search_campaign" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "is_smart_performance_campaign" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "modify_time" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "objective" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "objective_type" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "operation_status" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "optimization_goal" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "po_number" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "postback_window_mode" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "rf_campaign_type" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "roas_bid" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "rta_bid_enabled" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "rta_id" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "rta_product_selection_enabled" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "sales_destination" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "secondary_status" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest [ rdf:first "special_industries" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            rdf:rest [ rdf:first "virtual_objective_type" ;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest () ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ;
                                                                                                                                                                                                                                                                                                                                                                                                    sh:path <https://ontology.inferal.com/modules/json-values/memberName> ],
                                                                                                                                                                                                                                                                                                                                                                                                [ sh:node [ a sh:NodeShape ;
                                                                                                                                                                                                                                                                                                                                                                                                            sh:class <https://ontology.inferal.com/modules/json-values/Value> ] ;
                                                                                                                                                                                                                                                                                                                                                                                                    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> ] ] ;
                                                                                                                                                                                                                                                                                                                                                                                    rdf:rest () ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ;
                                            sh:path <https://ontology.inferal.com/modules/json-values/hasMember> ] ;
                                    sh:sparql [ sh:message "JSON object member names must be unique." ;
                                            sh:select "SELECT $this WHERE { $this <https://ontology.inferal.com/modules/json-values/hasMember> ?a, ?b . ?a <https://ontology.inferal.com/modules/json-values/memberName> ?name . ?b <https://ontology.inferal.com/modules/json-values/memberName> ?name . FILTER(?a != ?b) }" ] ] ;
                            sh:path <https://ontology.inferal.com/modules/json-values/elementValue> ] ] ;
            sh:path <https://ontology.inferal.com/modules/json-values/hasElement> ] .

<https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/budget/json-value-shape> a sh:NodeShape ;
    sh:class <https://ontology.inferal.com/modules/json-values/Number> ;
    sh:sparql [ sh:message "JSON numbers must round to a finite single precision value." ;
            sh:select """SELECT $this WHERE { $this <https://ontology.inferal.com/modules/json-values/numberLexicalForm> ?lexical . BIND(IF(isLiteral(?lexical) && DATATYPE(?lexical) = <http://www.w3.org/2001/XMLSchema#string> && STRLEN(STR(?lexical)) <= 4096 && REGEX(STR(?lexical), "^-?(0|[1-9][0-9]*)([.][0-9]+)?([eE][+-]?[0-9]+)?$") && !REGEX(STR(?lexical), "[^0-9eE+.-]"), STR(?lexical), 1 / 0) AS ?binary32Raw)
BIND(REPLACE(?binary32Raw, "[eE].*$", "") AS ?binary32Mantissa)
BIND(REPLACE(?binary32Mantissa, "[-.]", "") AS ?binary32Digits)
BIND(REPLACE(?binary32Digits, "^0+", "") AS ?binary32Significant)
BIND(REPLACE(?binary32Significant, "0+$", "") AS ?binary32Trimmed)
BIND(IF(CONTAINS(?binary32Mantissa, "."), STRLEN(STRAFTER(?binary32Mantissa, ".")), 0) AS ?binary32Fractional)
BIND(IF(REGEX(?binary32Raw, "[eE]"), <http://www.w3.org/2001/XMLSchema#integer>(REPLACE(?binary32Raw, "^.*[eE]([+-]?[0-9]+)$", "$1")), 0) AS ?binary32StatedExponent)
BIND(?binary32StatedExponent - ?binary32Fractional + IF(?binary32Significant = "", 0, STRLEN(?binary32Significant) - 1) AS ?binary32AdjustedExponent)
BIND(IF(ABS(?binary32AdjustedExponent) <= 4096, IF(?binary32Significant = "", "0", CONCAT(IF(STRSTARTS(?binary32Mantissa, "-"), "-", ""), ?binary32Trimmed)), 1 / 0) AS ?binary32Coefficient)
BIND(IF(BOUND(?binary32Coefficient), IF(?binary32Significant = "", 0, ?binary32StatedExponent - ?binary32Fractional + STRLEN(?binary32Significant) - STRLEN(?binary32Trimmed)), 1 / 0) AS ?binary32Exponent)
BIND(REPLACE(?binary32Coefficient, "^-", "") AS ?binary32Magnitude)
BIND(SUBSTR(CONCAT(?binary32Magnitude, "000000000000000000000000000000000000000"), 1, 39) AS ?binary32Digits)
FILTER(!BOUND(?binary32Exponent) || ?binary32AdjustedExponent > 38 || (?binary32AdjustedExponent = 38 && ?binary32Digits >= "340282356779733661637539395458142568448")) }""" ] .

<https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/roasBid/json-value-shape> a sh:NodeShape ;
    sh:class <https://ontology.inferal.com/modules/json-values/Number> ;
    sh:sparql [ sh:message "JSON numbers must round to a finite single precision value." ;
            sh:select """SELECT $this WHERE { $this <https://ontology.inferal.com/modules/json-values/numberLexicalForm> ?lexical . BIND(IF(isLiteral(?lexical) && DATATYPE(?lexical) = <http://www.w3.org/2001/XMLSchema#string> && STRLEN(STR(?lexical)) <= 4096 && REGEX(STR(?lexical), "^-?(0|[1-9][0-9]*)([.][0-9]+)?([eE][+-]?[0-9]+)?$") && !REGEX(STR(?lexical), "[^0-9eE+.-]"), STR(?lexical), 1 / 0) AS ?binary32Raw)
BIND(REPLACE(?binary32Raw, "[eE].*$", "") AS ?binary32Mantissa)
BIND(REPLACE(?binary32Mantissa, "[-.]", "") AS ?binary32Digits)
BIND(REPLACE(?binary32Digits, "^0+", "") AS ?binary32Significant)
BIND(REPLACE(?binary32Significant, "0+$", "") AS ?binary32Trimmed)
BIND(IF(CONTAINS(?binary32Mantissa, "."), STRLEN(STRAFTER(?binary32Mantissa, ".")), 0) AS ?binary32Fractional)
BIND(IF(REGEX(?binary32Raw, "[eE]"), <http://www.w3.org/2001/XMLSchema#integer>(REPLACE(?binary32Raw, "^.*[eE]([+-]?[0-9]+)$", "$1")), 0) AS ?binary32StatedExponent)
BIND(?binary32StatedExponent - ?binary32Fractional + IF(?binary32Significant = "", 0, STRLEN(?binary32Significant) - 1) AS ?binary32AdjustedExponent)
BIND(IF(ABS(?binary32AdjustedExponent) <= 4096, IF(?binary32Significant = "", "0", CONCAT(IF(STRSTARTS(?binary32Mantissa, "-"), "-", ""), ?binary32Trimmed)), 1 / 0) AS ?binary32Coefficient)
BIND(IF(BOUND(?binary32Coefficient), IF(?binary32Significant = "", 0, ?binary32StatedExponent - ?binary32Fractional + STRLEN(?binary32Significant) - STRLEN(?binary32Trimmed)), 1 / 0) AS ?binary32Exponent)
BIND(REPLACE(?binary32Coefficient, "^-", "") AS ?binary32Magnitude)
BIND(SUBSTR(CONCAT(?binary32Magnitude, "000000000000000000000000000000000000000"), 1, 39) AS ?binary32Digits)
FILTER(!BOUND(?binary32Exponent) || ?binary32AdjustedExponent > 38 || (?binary32AdjustedExponent = 38 && ?binary32Digits >= "340282356779733661637539395458142568448")) }""" ] .

<https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataList/specialIndustries/json-value-shape> a sh:NodeShape ;
    sh:class <https://ontology.inferal.com/modules/json-values/Array> ;
    sh:property [ sh:maxCount 4096 ;
            sh:minCount 0 ;
            sh:node [ sh:property [ sh:node [ a sh:NodeShape ;
                                    sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
                            sh:path <https://ontology.inferal.com/modules/json-values/elementValue> ] ] ;
            sh:path <https://ontology.inferal.com/modules/json-values/hasElement> ] .

<https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/page/json-value-shape> a sh:NodeShape ;
    sh:class <https://ontology.inferal.com/modules/json-values/Number> .

<https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/pageSize/json-value-shape> a sh:NodeShape ;
    sh:class <https://ontology.inferal.com/modules/json-values/Number> .

<https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/totalNumber/json-value-shape> a sh:NodeShape ;
    sh:class <https://ontology.inferal.com/modules/json-values/Number> .

<https://relay.inferal.com/ontology/tiktokadsvcampaigns/property/TiktokAdsV13Campaigns.CampaignGetResponseDataPageInfo/totalPage/json-value-shape> a sh:NodeShape ;
    sh:class <https://ontology.inferal.com/modules/json-values/Number> .

_:c14n1 sh:hasValue "rta_bid_enabled" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n105 sh:hasValue "roas_bid" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n111 sh:hasValue "rta_product_selection_enabled" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n113 sh:hasValue "campaign_product_source" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n114 sh:hasValue "create_time" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n139 sh:hasValue "operation_status" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n14 sh:hasValue "objective_type" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n147 a sh:NodeShape ;
    sh:class <https://ontology.inferal.com/modules/json-values/Array> ;
    sh:property [ sh:maxCount 4096 ;
            sh:minCount 0 ;
            sh:node [ sh:property [ sh:node [ a sh:NodeShape ;
                                    sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
                            sh:path <https://ontology.inferal.com/modules/json-values/elementValue> ] ] ;
            sh:path <https://ontology.inferal.com/modules/json-values/hasElement> ] .

_:c14n149 sh:hasValue "bid_align_type" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n154 sh:hasValue "campaign_id" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n156 sh:hasValue "postback_window_mode" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n157 sh:hasValue "campaign_system_origin" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n162 sh:hasValue "campaign_app_profile_page_state" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n168 sh:hasValue "budget" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n169 sh:hasValue "catalog_enabled" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n171 rdf:first "DISABLE" ;
    rdf:rest () .

_:c14n172 rdf:first "ENABLE" ;
    rdf:rest _:c14n171 .

_:c14n173 sh:in _:c14n172 ;
    sh:path <https://ontology.inferal.com/modules/json-values/stringValue> .

_:c14n174 a sh:NodeShape ;
    sh:class <https://ontology.inferal.com/modules/json-values/String> ;
    sh:property _:c14n173 .

_:c14n175 sh:node _:c14n174 ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n192 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n196 sh:node _:c14n147 ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n199 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n2 sh:hasValue "is_advanced_dedicated_campaign" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n20 sh:hasValue "secondary_status" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n203 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ;
            sh:property [ sh:in [ rdf:first "TIKTOK_SHOP" ;
                            rdf:rest [ rdf:first "WEBSITE" ;
                                    rdf:rest [ rdf:first "APP" ;
                                            rdf:rest [ rdf:first "WEB_AND_APP" ;
                                                    rdf:rest () ] ] ] ] ;
                    sh:path <https://ontology.inferal.com/modules/json-values/stringValue> ] ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n212 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/Boolean> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n216 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n220 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/Boolean> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n224 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/Number> ;
            sh:sparql [ sh:message "JSON numbers must round to a finite single precision value." ;
                    sh:select """SELECT $this WHERE { $this <https://ontology.inferal.com/modules/json-values/numberLexicalForm> ?lexical . BIND(IF(isLiteral(?lexical) && DATATYPE(?lexical) = <http://www.w3.org/2001/XMLSchema#string> && STRLEN(STR(?lexical)) <= 4096 && REGEX(STR(?lexical), "^-?(0|[1-9][0-9]*)([.][0-9]+)?([eE][+-]?[0-9]+)?$") && !REGEX(STR(?lexical), "[^0-9eE+.-]"), STR(?lexical), 1 / 0) AS ?binary32Raw)
BIND(REPLACE(?binary32Raw, "[eE].*$", "") AS ?binary32Mantissa)
BIND(REPLACE(?binary32Mantissa, "[-.]", "") AS ?binary32Digits)
BIND(REPLACE(?binary32Digits, "^0+", "") AS ?binary32Significant)
BIND(REPLACE(?binary32Significant, "0+$", "") AS ?binary32Trimmed)
BIND(IF(CONTAINS(?binary32Mantissa, "."), STRLEN(STRAFTER(?binary32Mantissa, ".")), 0) AS ?binary32Fractional)
BIND(IF(REGEX(?binary32Raw, "[eE]"), <http://www.w3.org/2001/XMLSchema#integer>(REPLACE(?binary32Raw, "^.*[eE]([+-]?[0-9]+)$", "$1")), 0) AS ?binary32StatedExponent)
BIND(?binary32StatedExponent - ?binary32Fractional + IF(?binary32Significant = "", 0, STRLEN(?binary32Significant) - 1) AS ?binary32AdjustedExponent)
BIND(IF(ABS(?binary32AdjustedExponent) <= 4096, IF(?binary32Significant = "", "0", CONCAT(IF(STRSTARTS(?binary32Mantissa, "-"), "-", ""), ?binary32Trimmed)), 1 / 0) AS ?binary32Coefficient)
BIND(IF(BOUND(?binary32Coefficient), IF(?binary32Significant = "", 0, ?binary32StatedExponent - ?binary32Fractional + STRLEN(?binary32Significant) - STRLEN(?binary32Trimmed)), 1 / 0) AS ?binary32Exponent)
BIND(REPLACE(?binary32Coefficient, "^-", "") AS ?binary32Magnitude)
BIND(SUBSTR(CONCAT(?binary32Magnitude, "000000000000000000000000000000000000000"), 1, 39) AS ?binary32Digits)
FILTER(!BOUND(?binary32Exponent) || ?binary32AdjustedExponent > 38 || (?binary32AdjustedExponent = 38 && ?binary32Digits >= "340282356779733661637539395458142568448")) }""" ] ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n229 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n233 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n237 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n241 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n27 sh:hasValue "po_number" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n270 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n274 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n278 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ;
            sh:property [ sh:in [ rdf:first "SAN" ;
                            rdf:rest [ rdf:first "SKAN" ;
                                    rdf:rest () ] ] ;
                    sh:path <https://ontology.inferal.com/modules/json-values/stringValue> ] ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n285 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n289 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/Number> ;
            sh:sparql [ sh:message "JSON numbers must round to a finite single precision value." ;
                    sh:select """SELECT $this WHERE { $this <https://ontology.inferal.com/modules/json-values/numberLexicalForm> ?lexical . BIND(IF(isLiteral(?lexical) && DATATYPE(?lexical) = <http://www.w3.org/2001/XMLSchema#string> && STRLEN(STR(?lexical)) <= 4096 && REGEX(STR(?lexical), "^-?(0|[1-9][0-9]*)([.][0-9]+)?([eE][+-]?[0-9]+)?$") && !REGEX(STR(?lexical), "[^0-9eE+.-]"), STR(?lexical), 1 / 0) AS ?binary32Raw)
BIND(REPLACE(?binary32Raw, "[eE].*$", "") AS ?binary32Mantissa)
BIND(REPLACE(?binary32Mantissa, "[-.]", "") AS ?binary32Digits)
BIND(REPLACE(?binary32Digits, "^0+", "") AS ?binary32Significant)
BIND(REPLACE(?binary32Significant, "0+$", "") AS ?binary32Trimmed)
BIND(IF(CONTAINS(?binary32Mantissa, "."), STRLEN(STRAFTER(?binary32Mantissa, ".")), 0) AS ?binary32Fractional)
BIND(IF(REGEX(?binary32Raw, "[eE]"), <http://www.w3.org/2001/XMLSchema#integer>(REPLACE(?binary32Raw, "^.*[eE]([+-]?[0-9]+)$", "$1")), 0) AS ?binary32StatedExponent)
BIND(?binary32StatedExponent - ?binary32Fractional + IF(?binary32Significant = "", 0, STRLEN(?binary32Significant) - 1) AS ?binary32AdjustedExponent)
BIND(IF(ABS(?binary32AdjustedExponent) <= 4096, IF(?binary32Significant = "", "0", CONCAT(IF(STRSTARTS(?binary32Mantissa, "-"), "-", ""), ?binary32Trimmed)), 1 / 0) AS ?binary32Coefficient)
BIND(IF(BOUND(?binary32Coefficient), IF(?binary32Significant = "", 0, ?binary32StatedExponent - ?binary32Fractional + STRLEN(?binary32Significant) - STRLEN(?binary32Trimmed)), 1 / 0) AS ?binary32Exponent)
BIND(REPLACE(?binary32Coefficient, "^-", "") AS ?binary32Magnitude)
BIND(SUBSTR(CONCAT(?binary32Magnitude, "000000000000000000000000000000000000000"), 1, 39) AS ?binary32Digits)
FILTER(!BOUND(?binary32Exponent) || ?binary32AdjustedExponent > 38 || (?binary32AdjustedExponent = 38 && ?binary32Digits >= "340282356779733661637539395458142568448")) }""" ] ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n294 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ;
            sh:property [ sh:in [ rdf:first "BUDGET_MODE_INFINITE" ;
                            rdf:rest [ rdf:first "BUDGET_MODE_TOTAL" ;
                                    rdf:rest [ rdf:first "BUDGET_MODE_DAY" ;
                                            rdf:rest [ rdf:first "BUDGET_MODE_DYNAMIC_DAILY_BUDGET" ;
                                                    rdf:rest () ] ] ] ] ;
                    sh:path <https://ontology.inferal.com/modules/json-values/stringValue> ] ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n303 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/Boolean> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n307 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ;
            sh:property [ sh:in [ rdf:first "INVALID" ;
                            rdf:rest [ rdf:first "UNSET" ;
                                    rdf:rest [ rdf:first "ON" ;
                                            rdf:rest [ rdf:first "OFF" ;
                                                    rdf:rest () ] ] ] ] ;
                    sh:path <https://ontology.inferal.com/modules/json-values/stringValue> ] ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n316 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ;
            sh:property [ sh:in [ rdf:first "MANUAL" ;
                            rdf:rest [ rdf:first "SMART_PLUS" ;
                                    rdf:rest [ rdf:first "UPGRADED_SMART_PLUS" ;
                                            rdf:rest () ] ] ] ;
                    sh:path <https://ontology.inferal.com/modules/json-values/stringValue> ] ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n324 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n328 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n332 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ;
            sh:property [ sh:in [ rdf:first "CATALOG" ;
                            rdf:rest [ rdf:first "STORE" ;
                                    rdf:rest () ] ] ;
                    sh:path <https://ontology.inferal.com/modules/json-values/stringValue> ] ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n339 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n343 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ;
            sh:property [ sh:in [ rdf:first "REGULAR_CAMPAIGN" ;
                            rdf:rest [ rdf:first "IOS14_CAMPAIGN" ;
                                    rdf:rest () ] ] ;
                    sh:path <https://ontology.inferal.com/modules/json-values/stringValue> ] ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n350 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/Boolean> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n354 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n358 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n36 sh:hasValue "advertiser_id" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n362 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/Boolean> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n366 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/Boolean> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n370 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/Boolean> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n374 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/Boolean> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n378 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/Boolean> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n38 sh:hasValue "bid_type" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n382 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n386 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n39 sh:hasValue "is_search_campaign" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n390 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n41 sh:hasValue "app_promotion_type" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n412 sh:node [ a sh:NodeShape ;
            sh:class <https://ontology.inferal.com/modules/json-values/String> ] ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberValue> .

_:c14n46 sh:hasValue "is_smart_performance_campaign" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n51 sh:hasValue "rf_campaign_type" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n52 sh:hasValue "rta_id" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n56 sh:hasValue "sales_destination" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n57 sh:hasValue "is_new_structure" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n59 sh:hasValue "campaign_automation_type" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n6 sh:hasValue "virtual_objective_type" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n62 sh:hasValue "deep_bid_type" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n64 sh:hasValue "optimization_goal" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n68 sh:hasValue "modify_time" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n70 sh:hasValue "disable_skan_campaign" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n73 sh:hasValue "campaign_type" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n76 sh:hasValue "campaign_name" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n86 sh:hasValue "objective" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n89 sh:hasValue "special_industries" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n91 sh:hasValue "app_id" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n92 sh:hasValue "budget_mode" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n94 sh:hasValue "budget_optimize_on" ;
    sh:path <https://ontology.inferal.com/modules/json-values/memberName> .

_:c14n176 sh:property _:c14n139,
        _:c14n175 .

_:c14n191 sh:property _:c14n192,
        _:c14n6 .

_:c14n195 sh:property _:c14n196,
        _:c14n89 .

_:c14n198 sh:property _:c14n199,
        _:c14n20 .

_:c14n202 sh:property _:c14n203,
        _:c14n56 .

_:c14n211 sh:property _:c14n111,
        _:c14n212 .

_:c14n215 sh:property _:c14n216,
        _:c14n52 .

_:c14n219 sh:property _:c14n1,
        _:c14n220 .

_:c14n223 sh:property _:c14n105,
        _:c14n224 .

_:c14n228 sh:property _:c14n229,
        _:c14n51 .

_:c14n232 sh:property _:c14n156,
        _:c14n233 .

_:c14n236 sh:property _:c14n237,
        _:c14n27 .

_:c14n240 sh:property _:c14n241,
        _:c14n64 .

_:c14n269 sh:property _:c14n270,
        _:c14n91 .

_:c14n273 sh:property _:c14n274,
        _:c14n41 .

_:c14n277 sh:property _:c14n149,
        _:c14n278 .

_:c14n284 sh:property _:c14n285,
        _:c14n38 .

_:c14n288 sh:property _:c14n168,
        _:c14n289 .

_:c14n293 sh:property _:c14n294,
        _:c14n92 .

_:c14n302 sh:property _:c14n303,
        _:c14n94 .

_:c14n306 sh:property _:c14n162,
        _:c14n307 .

_:c14n315 sh:property _:c14n316,
        _:c14n59 .

_:c14n323 sh:property _:c14n154,
        _:c14n324 .

_:c14n327 sh:property _:c14n328,
        _:c14n76 .

_:c14n331 sh:property _:c14n113,
        _:c14n332 .

_:c14n338 sh:property _:c14n157,
        _:c14n339 .

_:c14n342 sh:property _:c14n343,
        _:c14n73 .

_:c14n349 sh:property _:c14n169,
        _:c14n350 .

_:c14n353 sh:property _:c14n114,
        _:c14n354 .

_:c14n357 sh:property _:c14n358,
        _:c14n62 .

_:c14n361 sh:property _:c14n362,
        _:c14n70 .

_:c14n365 sh:property _:c14n2,
        _:c14n366 .

_:c14n369 sh:property _:c14n370,
        _:c14n57 .

_:c14n373 sh:property _:c14n374,
        _:c14n39 .

_:c14n377 sh:property _:c14n378,
        _:c14n46 .

_:c14n381 sh:property _:c14n382,
        _:c14n68 .

_:c14n385 sh:property _:c14n386,
        _:c14n86 .

_:c14n389 sh:property _:c14n14,
        _:c14n390 .

_:c14n411 sh:property _:c14n36,
        _:c14n412 .

