{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:hsimc:miacto:onboarding-bundle:1.0",
  "title": "Miacto partner onboarding draft bundle C0-003",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "schema": {
      "const": "miacto.onboarding-bundle"
    },
    "schema_version": {
      "const": "1.0"
    },
    "bundle_status": {
      "const": "draft"
    },
    "example_only": {
      "type": "boolean"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "pattern": "Z$",
      "description": "UTC RFC 3339 timestamp ending Z."
    },
    "provider_profile": {
      "$ref": "urn:hsimc:miacto:provider-profile:1.0"
    },
    "resources": {
      "type": "array",
      "items": {
        "$ref": "urn:hsimc:miacto:resource:1.0"
      },
      "minItems": 1
    },
    "offerings": {
      "type": "array",
      "items": {
        "$ref": "urn:hsimc:miacto:offering:1.0"
      },
      "minItems": 1
    },
    "extraction_job": {
      "anyOf": [
        {
          "$ref": "urn:hsimc:miacto:extraction-job:1.0"
        },
        {
          "type": "null"
        }
      ]
    },
    "work_agreements": {
      "type": "array",
      "items": {
        "$ref": "urn:hsimc:miacto:work-agreement:1.0"
      }
    },
    "webhook_subscriptions": {
      "type": "array",
      "items": {
        "$ref": "urn:hsimc:miacto:webhook-subscription:1.0"
      }
    }
  },
  "required": [
    "schema",
    "schema_version",
    "bundle_status",
    "example_only",
    "created_at",
    "provider_profile",
    "resources",
    "offerings",
    "extraction_job",
    "work_agreements",
    "webhook_subscriptions"
  ],
  "description": "Draft transport bundle. Resolve URN schema IDs through the shipped schema registry; browser previews do not register resources, verify authority, sign agreements or activate payment/execution. extraction_job is null when no API job exists."
}
