{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rork/json-schema/rork-app-asset-library-placement-ordering-request-create-request-schema.json",
  "title": "AppAssetLibraryPlacementOrderingRequestCreateRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rork-appassetlibraryplacementorderingrequests-api-openapi.yml#/components/schemas/AppAssetLibraryPlacementOrderingRequestCreateRequest",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "appAssetLibraryPlacementOrderingRequests"
          ]
        },
        "attributes": {
          "type": "object",
          "properties": {
            "placementGroup": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "relationships": {
          "type": "object",
          "properties": {
            "orderedPlacements": {
              "type": "object",
              "properties": {
                "data": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "appAssetLibraryPlacements"
                        ]
                      },
                      "id": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "type"
                    ]
                  }
                }
              }
            },
            "appStoreVersionLocalization": {
              "type": "object",
              "properties": {
                "data": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "appStoreVersionLocalizations"
                      ]
                    },
                    "id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "type"
                  ]
                }
              }
            },
            "appCustomProductPageLocalization": {
              "type": "object",
              "properties": {
                "data": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "appCustomProductPageLocalizations"
                      ]
                    },
                    "id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "type"
                  ]
                }
              }
            },
            "appStoreVersionExperimentTreatmentLocalization": {
              "type": "object",
              "properties": {
                "data": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "appStoreVersionExperimentTreatmentLocalizations"
                      ]
                    },
                    "id": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "type"
                  ]
                }
              }
            }
          }
        }
      },
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "attributes": {
              "type": "object",
              "required": [
                "placementGroup"
              ]
            },
            "relationships": {
              "type": "object",
              "required": [
                "orderedPlacements",
                "appStoreVersionLocalization"
              ]
            }
          },
          "required": [
            "relationships",
            "attributes"
          ]
        },
        {
          "type": "object",
          "properties": {
            "attributes": {
              "type": "object",
              "required": [
                "placementGroup"
              ]
            },
            "relationships": {
              "type": "object",
              "required": [
                "orderedPlacements",
                "appCustomProductPageLocalization"
              ]
            }
          },
          "required": [
            "relationships",
            "attributes"
          ]
        },
        {
          "type": "object",
          "properties": {
            "attributes": {
              "type": "object",
              "required": [
                "placementGroup"
              ]
            },
            "relationships": {
              "type": "object",
              "required": [
                "orderedPlacements",
                "appStoreVersionExperimentTreatmentLocalization"
              ]
            }
          },
          "required": [
            "relationships",
            "attributes"
          ]
        }
      ],
      "required": [
        "type"
      ]
    }
  },
  "required": [
    "data"
  ]
}