{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intelex/json-schema/intelex-post-actsapi-v1-facility-request-schema.json",
  "title": "PostActsapiV1FacilityRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/intelex-openapi-generated.yml#/components/schemas/PostActsapiV1FacilityRequest",
  "type": "object",
  "properties": {
    "facilityId": {
      "type": "number"
    },
    "facilityName": {
      "type": "string"
    },
    "areaId": {
      "type": "number"
    },
    "facilityTypeId": {
      "type": "number"
    },
    "facilityStatusId": {
      "type": "number"
    },
    "sortOrder": {
      "type": "number"
    },
    "facilityOwnershipId": {
      "type": "number"
    },
    "facilityOwnerId": {
      "type": "number"
    },
    "landOwnershipId": {
      "type": "number"
    },
    "landOwnerId": {
      "type": "number"
    },
    "operatorId": {
      "type": "number"
    },
    "countryId": {
      "type": "number"
    },
    "countyId": {
      "type": "number"
    },
    "offshoreBlockId": {
      "type": "number"
    },
    "meteorologicalId": {
      "type": "number"
    },
    "businessEntityId": {
      "type": "number"
    },
    "businessUnitId": {
      "type": "number"
    },
    "alternateName": {
      "type": "string"
    },
    "purchaseDate": {
      "type": "string",
      "description": "ISO‑8601 datetime"
    },
    "previousOwnerId": {
      "type": "number"
    },
    "soldDate": {
      "type": "string",
      "description": "ISO‑8601 datetime"
    },
    "soldToId": {
      "type": "number"
    },
    "activeDate": {
      "type": "string",
      "description": "ISO‑8601 datetime"
    },
    "inactiveDate": {
      "type": "string",
      "description": "ISO‑8601 datetime"
    },
    "dataLockTypeId": {
      "type": "number"
    },
    "externalIdentifier": {
      "type": "string"
    },
    "comments": {
      "type": "string"
    }
  },
  "required": [
    "facilityId",
    "facilityName",
    "areaId",
    "facilityTypeId",
    "facilityStatusId",
    "sortOrder",
    "facilityOwnershipId",
    "facilityOwnerId",
    "landOwnershipId",
    "landOwnerId",
    "operatorId",
    "countryId",
    "countyId",
    "offshoreBlockId",
    "meteorologicalId",
    "businessEntityId",
    "businessUnitId",
    "alternateName",
    "purchaseDate",
    "previousOwnerId",
    "soldDate",
    "soldToId",
    "activeDate",
    "inactiveDate",
    "dataLockTypeId",
    "externalIdentifier",
    "comments"
  ]
}