model-eol 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,31 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://example.invalid/model-eol/0.1/schedule.schema.json",
4
+ "title": "model-eol schedule output",
5
+ "description": "Machine-readable deprecation schedule emitted by `model-eol schedule --json`. Draft 0.1 - the $id is a placeholder until the repo is public.",
6
+ "type": "object",
7
+ "required": ["schema", "generated", "threshold_days", "scope", "targets", "scanned_files", "scan_notes", "earliest_risk", "items", "candidate_model_references", "unresolved_integrations"],
8
+ "properties": {
9
+ "schema": { "const": "model-eol/schedule@0.1" },
10
+ "generated": { "type": "string", "format": "date-time" },
11
+ "threshold_days": { "type": "number" },
12
+ "distributor": { "type": ["string", "null"] },
13
+ "scope": { "enum": ["all", "direct"] },
14
+ "targets": { "type": "array", "items": { "type": "string" } },
15
+ "scanned_files": { "type": "integer", "minimum": 0 },
16
+ "scan_notes": { "type": "array", "items": { "$ref": "model-eol.inventory.schema.json#/definitions/scanNote" } },
17
+ "earliest_risk": {
18
+ "type": ["object", "null"],
19
+ "required": ["safe_until", "id"],
20
+ "properties": {
21
+ "safe_until": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" },
22
+ "id": { "type": "string", "minLength": 1 }
23
+ },
24
+ "additionalProperties": false
25
+ },
26
+ "items": { "type": "array", "items": { "$ref": "model-eol.inventory.schema.json#/definitions/modelReference" } },
27
+ "candidate_model_references": { "type": "array", "items": { "$ref": "model-eol.inventory.schema.json#/definitions/candidateReference" } },
28
+ "unresolved_integrations": { "type": "array", "items": { "$ref": "model-eol.inventory.schema.json#/definitions/integrationHint" } }
29
+ },
30
+ "additionalProperties": false
31
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://example.invalid/model-eol/0.1/schema.json",
4
+ "title": "model-eol feed",
5
+ "description": "A machine-readable deprecation feed for AI models. Draft 0.1 - the $id is a placeholder until the repo is public.",
6
+ "type": "object",
7
+ "required": ["spec", "publisher", "generated", "models"],
8
+ "properties": {
9
+ "spec": { "const": "model-eol/0.1" },
10
+ "publisher": { "type": "string", "minLength": 1 },
11
+ "generated": { "type": "string", "format": "date-time" },
12
+ "source": { "type": "string", "format": "uri" },
13
+ "note": { "type": "string" },
14
+ "policy": {
15
+ "type": "object",
16
+ "required": ["min_notice_days", "source"],
17
+ "properties": {
18
+ "min_notice_days": { "type": "integer", "minimum": 0 },
19
+ "source": { "type": "string", "format": "uri" }
20
+ },
21
+ "additionalProperties": false
22
+ },
23
+ "models": {
24
+ "type": "array",
25
+ "items": { "$ref": "#/definitions/model" }
26
+ }
27
+ },
28
+ "additionalProperties": false,
29
+ "definitions": {
30
+ "isoDate": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$" },
31
+ "model": {
32
+ "type": "object",
33
+ "required": ["id"],
34
+ "properties": {
35
+ "id": { "type": "string", "minLength": 1 },
36
+ "aliases": { "type": "array", "items": { "type": "string", "minLength": 1 } },
37
+ "announced": { "$ref": "#/definitions/isoDate" },
38
+ "shutdown": { "$ref": "#/definitions/isoDate" },
39
+ "date_precision": { "enum": ["exact", "earliest"] },
40
+ "replacement": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$" },
41
+ "replacement_options": {
42
+ "type": "array",
43
+ "minItems": 1,
44
+ "items": { "type": "string", "pattern": "^[A-Za-z0-9][A-Za-z0-9._-]*$" }
45
+ },
46
+ "replacement_note": { "type": "string" },
47
+ "notes": { "type": "string" },
48
+ "source": { "type": "string", "format": "uri" },
49
+ "distributions": {
50
+ "type": "array",
51
+ "items": {
52
+ "type": "object",
53
+ "required": ["via"],
54
+ "properties": {
55
+ "via": { "type": "string", "minLength": 1 },
56
+ "announced": { "$ref": "#/definitions/isoDate" },
57
+ "shutdown": { "$ref": "#/definitions/isoDate" },
58
+ "date_precision": { "enum": ["exact", "earliest"] },
59
+ "status": { "enum": ["active", "legacy", "extended-access", "retired"] },
60
+ "source": { "type": "string", "format": "uri" }
61
+ },
62
+ "additionalProperties": false
63
+ }
64
+ }
65
+ },
66
+ "additionalProperties": false
67
+ }
68
+ }
69
+ }