"description":"Exact attempt-scoped internal prefix selected by the service."
}
},
"required":[
"store",
"bucket",
"prefix"
],
"unevaluatedProperties":{
"not":{}
}
},
"HttpSourceSubmission":{
"type":"object",
"properties":{
"kind":{
"type":"string",
"const":"http"
},
"url":{
"type":"string",
"format":"uri",
"maxLength":8192,
"description":"Sensitive execution input. Public projections expose only display_url."
},
"result_path":{
"$ref":"#/$defs/ResultPath"
},
"credential_id":{
"$ref":"#/$defs/CredentialId"
}
},
"required":[
"kind",
"url",
"result_path"
],
"unevaluatedProperties":{
"not":{}
}
},
"ResultPath":{
"type":"string",
"minLength":1,
"maxLength":4096,
"description":"NFC-normalized relative POSIX path validated under architecture.md."
},
"ObjectStoreSourceSubmission":{
"type":"object",
"properties":{
"kind":{
"type":"string",
"const":"object_store"
},
"store":{
"type":"string",
"minLength":1,
"maxLength":128
},
"bucket":{
"type":"string",
"minLength":3,
"maxLength":63
},
"key":{
"type":"string",
"minLength":1,
"maxLength":4096
},
"version_id":{
"type":"string",
"maxLength":1024
},
"result_path":{
"$ref":"#/$defs/ResultPath"
},
"credential_id":{
"$ref":"#/$defs/CredentialId"
}
},
"required":[
"kind",
"store",
"bucket",
"key",
"result_path"
],
"unevaluatedProperties":{
"not":{}
}
},
"HuggingFaceSelection":{
"type":"object",
"properties":{
"paths":{
"type":"array",
"items":{
"$ref":"#/$defs/ResultPath"
},
"maxItems":10000
},
"prefixes":{
"type":"array",
"items":{
"$ref":"#/$defs/ResultPath"
},
"maxItems":10000
}
},
"unevaluatedProperties":{
"not":{}
}
},
"HuggingFaceSourceSubmission":{
"type":"object",
"properties":{
"kind":{
"type":"string",
"const":"hugging_face"
},
"repository_type":{
"anyOf":[
{
"type":"string",
"const":"model"
},
{
"type":"string",
"const":"dataset"
},
{
"type":"string",
"const":"space"
}
]
},
"repository_id":{
"$ref":"#/$defs/HuggingFaceRepositoryId"
},
"revision":{
"type":"string",
"minLength":1,
"maxLength":256
},
"selection":{
"$ref":"#/$defs/HuggingFaceSelection"
},
"credential_id":{
"$ref":"#/$defs/CredentialId"
}
},
"required":[
"kind",
"repository_type",
"repository_id",
"revision"
],
"unevaluatedProperties":{
"not":{}
}
},
"HuggingFaceRepositoryId":{
"type":"string",
"pattern":"^[A-Za-z0-9._-]+/[A-Za-z0-9._-]+$"
},
"HttpSourceProjection":{
"type":"object",
"properties":{
"kind":{
"type":"string",
"const":"http"
},
"display_url":{
"type":"string",
"format":"uri",
"maxLength":8192,
"description":"Sanitized URL without userinfo, sensitive query values, or fragments."
},
"result_path":{
"$ref":"#/$defs/ResultPath"
},
"credential_id":{
"$ref":"#/$defs/CredentialId"
}
},
"required":[
"kind",
"display_url",
"result_path"
],
"unevaluatedProperties":{
"not":{}
}
},
"ObjectStoreSourceProjection":{
"type":"object",
"properties":{
"kind":{
"type":"string",
"const":"object_store"
},
"store":{
"type":"string",
"minLength":1,
"maxLength":128
},
"bucket":{
"type":"string",
"minLength":3,
"maxLength":63
},
"key":{
"type":"string",
"minLength":1,
"maxLength":4096
},
"version_id":{
"type":"string",
"maxLength":1024
},
"result_path":{
"$ref":"#/$defs/ResultPath"
},
"credential_id":{
"$ref":"#/$defs/CredentialId"
}
},
"required":[
"kind",
"store",
"bucket",
"key",
"result_path"
],
"unevaluatedProperties":{
"not":{}
}
},
"HuggingFaceSourceProjection":{
"type":"object",
"properties":{
"kind":{
"type":"string",
"const":"hugging_face"
},
"repository_type":{
"anyOf":[
{
"type":"string",
"const":"model"
},
{
"type":"string",
"const":"dataset"
},
{
"type":"string",
"const":"space"
}
]
},
"repository_id":{
"$ref":"#/$defs/HuggingFaceRepositoryId"
},
"revision":{
"type":"string",
"minLength":1,
"maxLength":256
},
"selection":{
"$ref":"#/$defs/HuggingFaceSelection"
},
"credential_id":{
"$ref":"#/$defs/CredentialId"
}
},
"required":[
"kind",
"repository_type",
"repository_id",
"revision"
],
"unevaluatedProperties":{
"not":{}
}
},
"JobSubmission":{
"type":"object",
"properties":{
"source":{
"$ref":"#/$defs/SourceSubmission"
},
"target":{
"$ref":"#/$defs/TargetOverride",
"description":"Fields omitted here are taken from the configured default target before authorization."
},
"label":{
"type":"string",
"minLength":1,
"maxLength":200
}
},
"required":[
"source"
],
"unevaluatedProperties":{
"not":{}
}
},
"SourceSubmission":{
"anyOf":[
{
"$ref":"#/$defs/HttpSourceSubmission"
},
{
"$ref":"#/$defs/ObjectStoreSourceSubmission"
},
{
"$ref":"#/$defs/HuggingFaceSourceSubmission"
}
]
},
"BasicAuthMaterial":{
"type":"object",
"properties":{
"username":{
"type":"string",
"minLength":1,
"maxLength":1024
},
"password":{
"type":"string",
"minLength":1,
"maxLength":16384
}
},
"required":[
"username",
"password"
],
"unevaluatedProperties":{
"not":{}
}
},
"TokenMaterial":{
"type":"object",
"properties":{
"token":{
"type":"string",
"minLength":1,
"maxLength":16384
}
},
"required":[
"token"
],
"unevaluatedProperties":{
"not":{}
}
},
"HttpHeadersMaterial":{
"type":"object",
"properties":{
"headers":{
"$ref":"#/$defs/RecordString",
"description":"Canonical lowercase end-to-end headers. Connection-nominated and routing, framing, cookie, proxy, and authentication headers are rejected."
}
},
"required":[
"headers"
],
"unevaluatedProperties":{
"not":{}
}
},
"RecordString":{
"type":"object",
"properties":{},
"unevaluatedProperties":{
"type":"string"
}
},
"ObjectStoreCredentialMaterial":{
"type":"object",
"properties":{
"access_key_id":{
"type":"string",
"minLength":1,
"maxLength":1024
},
"secret_access_key":{
"type":"string",
"minLength":1,
"maxLength":16384
},
"session_token":{
"type":"string",
"minLength":1,
"maxLength":16384
}
},
"required":[
"access_key_id",
"secret_access_key"
],
"unevaluatedProperties":{
"not":{}
}
},
"BasicAuthCredentialCreate":{
"type":"object",
"properties":{
"label":{
"type":"string",
"minLength":1,
"maxLength":200
},
"kind":{
"type":"string",
"const":"basic_auth"
},
"material":{
"$ref":"#/$defs/BasicAuthMaterial"
}
},
"required":[
"label",
"kind",
"material"
],
"unevaluatedProperties":{
"not":{}
}
},
"BearerTokenCredentialCreate":{
"type":"object",
"properties":{
"label":{
"type":"string",
"minLength":1,
"maxLength":200
},
"kind":{
"type":"string",
"const":"bearer_token"
},
"material":{
"$ref":"#/$defs/TokenMaterial"
}
},
"required":[
"label",
"kind",
"material"
],
"unevaluatedProperties":{
"not":{}
}
},
"HttpHeadersCredentialCreate":{
"type":"object",
"properties":{
"label":{
"type":"string",
"minLength":1,
"maxLength":200
},
"kind":{
"type":"string",
"const":"http_headers"
},
"material":{
"$ref":"#/$defs/HttpHeadersMaterial"
}
},
"required":[
"label",
"kind",
"material"
],
"unevaluatedProperties":{
"not":{}
}
},
"ObjectStoreCredentialCreate":{
"type":"object",
"properties":{
"label":{
"type":"string",
"minLength":1,
"maxLength":200
},
"kind":{
"type":"string",
"const":"object_store"
},
"material":{
"$ref":"#/$defs/ObjectStoreCredentialMaterial"
}
},
"required":[
"label",
"kind",
"material"
],
"unevaluatedProperties":{
"not":{}
}
},
"HuggingFaceCredentialCreate":{
"type":"object",
"properties":{
"label":{
"type":"string",
"minLength":1,
"maxLength":200
},
"kind":{
"type":"string",
"const":"hugging_face"
},
"material":{
"$ref":"#/$defs/TokenMaterial"
}
},
"required":[
"label",
"kind",
"material"
],
"unevaluatedProperties":{
"not":{}
}
},
"SourceCredentialRotate":{
"type":"object",
"properties":{
"material":{
"$ref":"#/$defs/CredentialMaterial"
}
},
"required":[
"material"
],
"unevaluatedProperties":{
"not":{}
},
"description":"The material shape must match the stored credential kind; rotation never changes kind."
},
"CredentialMaterial":{
"anyOf":[
{
"$ref":"#/$defs/BasicAuthMaterial"
},
{
"$ref":"#/$defs/TokenMaterial"
},
{
"$ref":"#/$defs/HttpHeadersMaterial"
},
{
"$ref":"#/$defs/ObjectStoreCredentialMaterial"
}
],
"description":"Write-only material whose closed shape must match the credential kind. Values are never returned or logged."
},
"SourceCredentialVersion":{
"type":"object",
"properties":{
"id":{
"$ref":"#/$defs/CredentialVersionId"
},
"created_at":{
"type":"string",
"format":"date-time"
}
},
"required":[
"id",
"created_at"
],
"unevaluatedProperties":{
"not":{}
}
},
"CredentialVersionId":{
"type":"string",
"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{7,127}$",
"description":"Immutable application credential-version identifier; backend secret-store coordinates are never exposed."
},
"CredentialGrantVersion":{
"type":"object",
"properties":{
"credential_id":{
"$ref":"#/$defs/CredentialId"
},
"version_id":{
"$ref":"#/$defs/CredentialVersionId"
}
},
"required":[
"credential_id",
"version_id"
],
"unevaluatedProperties":{
"not":{}
}
},
"SourceCredential":{
"type":"object",
"properties":{
"id":{
"$ref":"#/$defs/CredentialId"
},
"owner":{
"$ref":"#/$defs/PrincipalId"
},
"label":{
"type":"string",
"minLength":1,
"maxLength":200
},
"kind":{
"$ref":"#/$defs/SourceCredentialKind"
},
"status":{
"anyOf":[
{
"type":"string",
"const":"active"
},
{
"type":"string",
"const":"revoked"
}
]
},
"active_version":{
"anyOf":[
{
"$ref":"#/$defs/SourceCredentialVersion"
},
{
"type":"null"
}
]
},
"created_at":{
"type":"string",
"format":"date-time"
},
"updated_at":{
"type":"string",
"format":"date-time"
}
},
"required":[
"id",
"owner",
"label",
"kind",
"status",
"active_version",
"created_at",
"updated_at"
],
"unevaluatedProperties":{
"not":{}
}
},
"PrincipalId":{
"type":"string",
"pattern":"^[A-Za-z0-9][A-Za-z0-9_-]{7,127}$",
"description":"Internal stable principal identifier mapped to one exact OIDC issuer and subject pair."
},
"SourceCredentialKind":{
"type":"string",
"enum":[
"basic_auth",
"bearer_token",
"http_headers",
"object_store",
"hugging_face"
]
},
"SourceCredentialPage":{
"type":"object",
"properties":{
"items":{
"type":"array",
"items":{
"$ref":"#/$defs/SourceCredential"
}
},
"next_cursor":{
"anyOf":[
{
"type":"string"
},
{
"type":"null"
}
]
}
},
"required":[
"items",
"next_cursor"
],
"unevaluatedProperties":{
"not":{}
}
},
"JobPhaseProjection":{
"type":"object",
"properties":{
"phase":{
"$ref":"#/$defs/JobPhase"
}
},
"required":[
"phase"
],
"unevaluatedProperties":{
"not":{}
}
},
"JobPhase":{
"type":"string",
"enum":[
"Queued",
"Running",
"RetryWait",
"Cancelling",
"Succeeded",
"Failed",
"Cancelled"
]
},
"AttemptAuthority":{
"type":"object",
"properties":{
"attempt_id":{
"$ref":"#/$defs/OpaqueId"
},
"fence":{
"type":"integer",
"minimum":1
},
"worker_incarnation":{
"$ref":"#/$defs/OpaqueId"
}
},
"required":[
"attempt_id",
"fence",
"worker_incarnation"
],
"unevaluatedProperties":{
"not":{}
}
},
"LeaseProjection":{
"type":"object",
"properties":{
"expires_at":{
"type":"string",
"format":"date-time",
"description":"Expiry of the exact coordination lease established for this authority."
},
"renew_after":{
"type":"string",
"format":"date-time",
"description":"Earliest recommended renewal time, strictly before expires_at."