{
  "contract": "sourcey.site-record/v1alpha1",
  "release_id": "sha256:01878e420becfd35dc17fcd9c45ae9fd7f77cece1fedfdf68ac6cdf861f9432b",
  "snapshot_id": "sha256:941812942078a95ce94c3802726dfad46394ed4e8faec931d0d61f4cd6c48a88",
  "artifact_sha256": "sha256:207717acd882c5f10a288d4c057d2e8e74e62a63a0cda0bb875692c63b5ca5bd",
  "data": {
    "entity_id": "ent_01kyxthgq0zvqdgfges3ksm4s0",
    "entity_slug": "onshape",
    "profile": {
      "projection_contract": "sourcey.agent-readiness-projection/v1alpha1",
      "agent_readiness_profile_id": "arp_01m4t96s3q880nvdh2krrpad7r",
      "entity_id": "ent_01kyxthgq0zvqdgfges3ksm4s0",
      "scope": {
        "product": {
          "key": "onshape-rest-api",
          "name": "Onshape REST API"
        },
        "job": {
          "key": "cad-document-create",
          "name": "Create a CAD document"
        }
      },
      "catalog_binding": {
        "base_release_id": "sha256:b8d2307bdb2bd192cdb6e4a0586bf54e4c306eb8bae6a6f3c48ddff04bcdcee1",
        "entity_revision_digest": "sha256:82003058ee5847661ce448b7b6e56b3599138e7281054a4a924580adbff1d75e"
      },
      "declaration_revision_digest": "sha256:f73dfc81fea4a84cd1e32c48c86dd252b88b0769a2f98e3d851b0728f0a4834e",
      "declaration": {
        "declaration_id": "declaration_onshape_onshape_rest_api_cad_document_create",
        "provenance": {
          "repository": "sourcey/agent-ready-services",
          "commit": "de1148784db9547de861d4669ba397968e6787cc",
          "path": "entities/on/onshape.yaml",
          "git_blob_oid": "7bed3964cbe0720a41b6b38bc0d252832dbe6db2",
          "blob_digest": "sha256:32f3ac98ee7f2aa0fd565846bc4e1d334f622a6b218632e33c900f30bb7f49ac"
        },
        "status": "community_declared"
      },
      "surface_catalog": {
        "participants": [
          {
            "participant_id": "onshape",
            "roles": [
              "access_operator",
              "identity_provider",
              "operations_provider",
              "payment_provider",
              "provisioning_provider",
              "subject"
            ],
            "identity": {
              "entity_id": "ent_01kyxthgq0zvqdgfges3ksm4s0"
            }
          }
        ],
        "resources": [
          {
            "resource_id": "account-signup",
            "uri": "https://www.onshape.com/en/sign-up",
            "roles": [
              "access"
            ],
            "operated_by_participant_id": "onshape",
            "standard_bindings": []
          },
          {
            "resource_id": "api-intro",
            "uri": "https://onshape-public.github.io/docs/api-intro/",
            "roles": [
              "discovery",
              "documentation"
            ],
            "operated_by_participant_id": "onshape",
            "standard_bindings": []
          },
          {
            "resource_id": "api-reference",
            "uri": "https://onshape-public.github.io/docs/api-adv/documents/",
            "roles": [
              "discovery",
              "documentation",
              "operations",
              "provisioning"
            ],
            "operated_by_participant_id": "onshape",
            "standard_bindings": []
          },
          {
            "resource_id": "authentication",
            "uri": "https://onshape-public.github.io/docs/auth/apikeys/",
            "roles": [
              "authentication",
              "documentation"
            ],
            "operated_by_participant_id": "onshape",
            "standard_bindings": []
          },
          {
            "resource_id": "pricing",
            "uri": "https://www.onshape.com/en/pricing",
            "roles": [
              "pricing"
            ],
            "operated_by_participant_id": "onshape",
            "standard_bindings": []
          },
          {
            "resource_id": "service-terms",
            "uri": "https://www.onshape.com/en/legal/terms-of-use",
            "roles": [
              "terms"
            ],
            "operated_by_participant_id": "onshape",
            "standard_bindings": []
          }
        ],
        "endpoints": [
          {
            "endpoint_id": "registration",
            "uri": "https://www.onshape.com/en/sign-up",
            "transport": "http",
            "roles": [
              "registration"
            ],
            "operated_by_participant_id": "onshape",
            "standard_bindings": []
          },
          {
            "endpoint_id": "service-api",
            "uri": "https://cad.onshape.com/api/v17",
            "transport": "http",
            "roles": [
              "service"
            ],
            "operated_by_participant_id": "onshape",
            "standard_bindings": []
          }
        ],
        "interfaces": [
          {
            "interface_id": "api-authentication",
            "modality": "network_api",
            "functions": [
              "authentication"
            ],
            "endpoint_ids": [],
            "resource_ids": [
              "authentication"
            ],
            "operated_by_participant_id": "onshape",
            "standard_bindings": []
          },
          {
            "interface_id": "service-api",
            "modality": "network_api",
            "functions": [
              "service_operation"
            ],
            "endpoint_ids": [
              "service-api"
            ],
            "resource_ids": [
              "api-intro",
              "api-reference"
            ],
            "operated_by_participant_id": "onshape",
            "standard_bindings": []
          }
        ],
        "relations": [
          {
            "relation_id": "authentication-authenticates-api",
            "kind": "authenticates",
            "from": {
              "node_kind": "interface",
              "node_id": "api-authentication"
            },
            "to": {
              "node_kind": "interface",
              "node_id": "service-api"
            }
          },
          {
            "relation_id": "reference-describes-api",
            "kind": "describes",
            "from": {
              "node_kind": "resource",
              "node_id": "api-reference"
            },
            "to": {
              "node_kind": "interface",
              "node_id": "service-api"
            }
          },
          {
            "relation_id": "signup-precedes-authentication",
            "kind": "precedes",
            "from": {
              "node_kind": "resource",
              "node_id": "account-signup"
            },
            "to": {
              "node_kind": "interface",
              "node_id": "api-authentication"
            }
          }
        ],
        "surface_exclusions": [
          {
            "exclusion_id": "free-job-no-checkout",
            "role": "checkout",
            "rationale": "Onshape's Free Plan is $0 for personal projects, with unlimited public storage and its CAD tools."
          },
          {
            "exclusion_id": "separate-eligibility-resource",
            "role": "eligibility",
            "rationale": "Access conditions are published within the vendor's terms; no separate eligibility resource is declared."
          }
        ]
      },
      "lifecycle": "active",
      "effective_from": "2026-10-13T09:25:08.997Z",
      "revision_digest": "sha256:c3d13731bf4f9feea4b7cffc920c791f652324d69db8bfa06c2a1136cb681c8f",
      "policy_digest": "sha256:b612172aad277b54461de84e006815126f2df566563954b02f4432a39cad89ac",
      "policy_version": "kind-2026-10-12.2",
      "policy_as_of": "2026-10-05T00:00:00Z",
      "job": {
        "job_id": "cad-document-create",
        "job_digest": "sha256:8d0bcede807e829c1e2800fa77bda8aba8944244656ed83e70451d2ab27a18ef",
        "category": "cad",
        "name": "Create a CAD document",
        "statement": "Create a CAD document named with the run's nonce, then read it back."
      },
      "interface_id": "service-api",
      "label": "probed",
      "label_run_at": null,
      "grade": {
        "letter": "B+",
        "statement": "A person signs up and hands over a key.",
        "steps": [
          {
            "step": "discover",
            "outcome": "workaround",
            "timing": "setup"
          },
          {
            "step": "authority",
            "outcome": "workaround",
            "timing": "setup"
          },
          {
            "step": "onboard",
            "outcome": "workaround",
            "timing": "setup"
          },
          {
            "step": "pay",
            "outcome": "not_applicable",
            "timing": null
          },
          {
            "step": "confirm",
            "outcome": "machine",
            "timing": null
          },
          {
            "step": "sustain",
            "outcome": "workaround",
            "timing": "setup"
          }
        ],
        "job": "reachable",
        "approvals": [],
        "workarounds": [
          {
            "step": "discover",
            "timing": "setup"
          },
          {
            "step": "authority",
            "timing": "setup"
          },
          {
            "step": "onboard",
            "timing": "setup"
          },
          {
            "step": "sustain",
            "timing": "setup"
          }
        ]
      },
      "discovery": [],
      "discovery_run_at": null,
      "run": {
        "started_at": "2026-10-13T09:24:12.510Z",
        "finished_at": "2026-10-13T09:25:08.997Z",
        "discovery_reads": 29,
        "exchanges": [
          {
            "purpose": "probe_operation",
            "role": "request",
            "method": "POST",
            "url": "https://cad.onshape.com/api/v17/documents",
            "started_at": "2026-10-13T09:24:52.763Z",
            "finished_at": "2026-10-13T09:24:53.011Z",
            "response": {
              "status": 401,
              "media_type": "application/json",
              "content_bytes": 55,
              "content_digest": "sha256:ae0fefe09bc9ad086bac27a5fd90d46c6ae46adf8701fafce272f6fe15120459"
            },
            "transport_error": null,
            "exchange_digest": "sha256:35a3d43cddfe0f7a12a93752f2c81a58a5efb020daeff286d8b60643b36516c8"
          },
          {
            "purpose": "probe_resource_metadata",
            "role": "request",
            "method": "GET",
            "url": "https://cad.onshape.com/.well-known/oauth-protected-resource/api/v17/documents",
            "started_at": "2026-10-13T09:24:56.882Z",
            "finished_at": "2026-10-13T09:24:57.134Z",
            "response": {
              "status": 200,
              "media_type": "text/html",
              "content_bytes": 1425,
              "content_digest": "sha256:526d7dc581b1329831e43101c41106a8b91c2310f6343e0a01bb9d80fbd7a95c"
            },
            "transport_error": null,
            "exchange_digest": "sha256:eff6bab20bc4aaaa13ee465a425ed9c415ce196b11da3c6bb517516605e9583d"
          },
          {
            "purpose": "probe_resource_metadata",
            "role": "request",
            "method": "GET",
            "url": "https://cad.onshape.com/.well-known/oauth-protected-resource",
            "started_at": "2026-10-13T09:25:00.393Z",
            "finished_at": "2026-10-13T09:25:00.650Z",
            "response": {
              "status": 200,
              "media_type": "text/html",
              "content_bytes": 1425,
              "content_digest": "sha256:526d7dc581b1329831e43101c41106a8b91c2310f6343e0a01bb9d80fbd7a95c"
            },
            "transport_error": null,
            "exchange_digest": "sha256:36d96d3b496de3462eab54d1a125d84ba764dcbc8386f5abf1d2b4def10f9692"
          },
          {
            "purpose": "probe_page",
            "role": "request",
            "method": "GET",
            "url": "https://www.onshape.com/en/sign-up",
            "started_at": "2026-10-13T09:25:04.014Z",
            "finished_at": "2026-10-13T09:25:04.094Z",
            "response": {
              "status": 200,
              "media_type": "text/html",
              "content_bytes": 129259,
              "content_digest": "sha256:876c3c766160955552118d25991edbe10ff5e541e9184fb915f16f447e56d814"
            },
            "transport_error": null,
            "exchange_digest": "sha256:10f46d7dc6b2bb9ae8145e80da39f069d4ad78f8d2c81ce1f525078e6798d181"
          }
        ],
        "assertions": []
      },
      "last_run_at": "2026-10-13T09:25:08.997Z",
      "publication": {
        "visibility": "discoverable",
        "reasons": []
      },
      "provenance": {
        "dispute": "none",
        "vendor_attestation": {
          "status": "none"
        },
        "basis_event_ids": []
      },
      "canonical_url": "https://sourcey.com/c/onshape/agent-readiness/onshape-rest-api/cad-document-create",
      "projection_digest": "sha256:45037750f896ae7c0caed75414e8f5f6355d0b99d95e196e4dbbfc6585878755"
    }
  }
}
