@cbjk_iris/schema 0.0.0-stage → 0.0.0

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,77 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "$schema": {
6
+ "type": "string",
7
+ "description": "Caminho do JSON Schema (autocomplete no editor)"
8
+ },
9
+ "name": {
10
+ "type": "string",
11
+ "minLength": 1,
12
+ "title": "Nome"
13
+ },
14
+ "shortDescription": {
15
+ "type": "string",
16
+ "minLength": 1,
17
+ "title": "Descrição curta"
18
+ },
19
+ "description": {
20
+ "type": "string",
21
+ "minLength": 1,
22
+ "title": "Descrição completa"
23
+ },
24
+ "images": {
25
+ "minItems": 1,
26
+ "type": "array",
27
+ "items": {
28
+ "type": "string"
29
+ },
30
+ "description": "A primeira é a capa",
31
+ "title": "Imagens"
32
+ },
33
+ "specs": {
34
+ "type": "array",
35
+ "items": {
36
+ "type": "object",
37
+ "properties": {
38
+ "label": {
39
+ "type": "string",
40
+ "minLength": 1,
41
+ "title": "Nome",
42
+ "examples": [
43
+ "Material"
44
+ ]
45
+ },
46
+ "value": {
47
+ "type": "string",
48
+ "minLength": 1,
49
+ "title": "Valor",
50
+ "examples": [
51
+ "Silicone"
52
+ ]
53
+ }
54
+ },
55
+ "required": [
56
+ "label",
57
+ "value"
58
+ ],
59
+ "additionalProperties": false
60
+ },
61
+ "title": "Especificações"
62
+ },
63
+ "order": {
64
+ "type": "integer",
65
+ "minimum": 0,
66
+ "maximum": 9007199254740991,
67
+ "title": "Ordem"
68
+ }
69
+ },
70
+ "required": [
71
+ "name",
72
+ "shortDescription",
73
+ "description",
74
+ "images"
75
+ ],
76
+ "additionalProperties": false
77
+ }
package/package.json CHANGED
@@ -1,6 +1,45 @@
1
1
  {
2
2
  "name": "@cbjk_iris/schema",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.0",
4
+ "description": "Contratos do Iris: tipos, schemas e constantes do config e do conteúdo.",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/lf-kali/cbjk_iris.git",
9
+ "directory": "packages/schema"
10
+ },
11
+ "type": "module",
12
+ "sideEffects": false,
13
+ "engines": {
14
+ "node": ">=22.18"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "json",
22
+ "NOTICE"
23
+ ],
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/index.d.mts",
27
+ "default": "./dist/index.mjs"
28
+ },
29
+ "./defaults": {
30
+ "types": "./dist/defaults.d.mts",
31
+ "default": "./dist/defaults.mjs"
32
+ },
33
+ "./json/*": "./json/*",
34
+ "./package.json": "./package.json"
35
+ },
36
+ "scripts": {
37
+ "build": "tsdown && node scripts/write-json.mjs",
38
+ "typecheck": "tsc --noEmit -p tsconfig.json",
39
+ "lint": "eslint",
40
+ "test": "vitest run --coverage"
41
+ },
42
+ "dependencies": {
43
+ "zod": "^4.6.7"
44
+ }
45
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.