{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-ansible-automation-platform/json-schema/red-hat-ansible-automation-platform-resource-response-schema.json",
  "title": "ResourceResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-api-service-index-resources-api-openapi.yml#/components/schemas/ResourceResponse",
  "type": "object",
  "properties": {
    "object_id": {
      "type": "string",
      "readOnly": true,
      "description": "The object id for this resource."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "readOnly": true,
      "description": "The name of this resource."
    },
    "ansible_id": {
      "type": "string",
      "format": "uuid",
      "description": "A unique ID identifying this resource by the resource server."
    },
    "service_id": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the service responsible for managing this resource."
    },
    "is_partially_migrated": {
      "type": "boolean",
      "description": "A flag indicating that the resource has been copied into the resource server, but the service_id hasn't been updated yet."
    },
    "resource_type": {
      "type": "string"
    },
    "has_serializer": {
      "type": "boolean",
      "readOnly": true
    },
    "resource_data": {
      "type": "object"
    },
    "url": {
      "type": "string",
      "readOnly": true
    },
    "additional_data": {
      "type": "string",
      "readOnly": true
    }
  },
  "required": [
    "resource_data"
  ]
}