{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/snowflake/main/json-schema/snowflake-artifact-repository-schema.json", "title": "ArtifactRepository", "description": "A Snowflake artifact repository", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/snowflake-artifact-repository-api-openapi.yml#/components/schemas/ArtifactRepository", "type": "object", "properties": { "name": { "type": "string", "pattern": "^\"([^\"]|\"\")+\"|[a-zA-Z_][a-zA-Z0-9_$]*$", "description": "Name of the artifact repository" }, "type": { "type": "string", "enum": [ "PIP" ], "description": "Specifies the type of the repository. The only current supported option is ‘PIP’." }, "comment": { "type": "string", "description": "user comment associated to an object in the dictionary" }, "api_integration": { "type": "string", "description": "Link to an integration object" }, "created_on": { "type": "string", "format": "date-time", "readOnly": true, "description": "Date and time when the artifact repository was created." }, "database_name": { "type": "string", "pattern": "^\"([^\"]|\"\")+\"|[a-zA-Z_][a-zA-Z0-9_$]*$", "readOnly": true, "description": "Database in which the artifact repository is stored" }, "schema_name": { "type": "string", "pattern": "^\"([^\"]|\"\")+\"|[a-zA-Z_][a-zA-Z0-9_$]*$", "readOnly": true, "description": "Schema in which the artifact repository is stored" }, "owner": { "type": "string", "pattern": "^\"([^\"]|\"\")+\"|[a-zA-Z_][a-zA-Z0-9_$]*$", "readOnly": true, "description": "Role that owns the artifact repository" }, "owner_role_type": { "type": "string", "pattern": "^\"([^\"]|\"\")+\"|[a-zA-Z_][a-zA-Z0-9_$]*$", "readOnly": true, "description": "The type of role that owns the artifact repository" } }, "required": [ "name", "type", "api_integration" ] }