View input schema
{
"type": "object",
"properties": {
"front_lr": {
"description": "Front left/right. Optional individually; supply at least one known axis. Do not guess the face or axis. Example: 55/45. Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"55/45",
[
55,
45
]
],
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"exclusiveMinimum": 0,
"exclusiveMaximum": 1
},
{
"type": "number",
"exclusiveMinimum": 1,
"maximum": 100
},
{
"type": "string",
"minLength": 1,
"maxLength": 80
}
],
"description": "Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"55/45",
0.55,
"0.55/0.45"
]
},
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": [
"number",
"string"
]
}
}
]
},
"front_tb": {
"description": "Front top/bottom. Optional individually; supply at least one known axis. Do not guess the face or axis. Example: 55/45. Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"60/40",
[
60,
40
]
],
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"exclusiveMinimum": 0,
"exclusiveMaximum": 1
},
{
"type": "number",
"exclusiveMinimum": 1,
"maximum": 100
},
{
"type": "string",
"minLength": 1,
"maxLength": 80
}
],
"description": "Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"55/45",
0.55,
"0.55/0.45"
]
},
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": [
"number",
"string"
]
}
}
]
},
"back_lr": {
"description": "Back left/right. Optional individually; supply at least one known axis. Do not guess the face or axis. Example: 55/45. Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"65/35",
[
65,
35
]
],
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"exclusiveMinimum": 0,
"exclusiveMaximum": 1
},
{
"type": "number",
"exclusiveMinimum": 1,
"maximum": 100
},
{
"type": "string",
"minLength": 1,
"maxLength": 80
}
],
"description": "Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"55/45",
0.55,
"0.55/0.45"
]
},
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": [
"number",
"string"
]
}
}
]
},
"back_tb": {
"description": "Back top/bottom. Optional individually; supply at least one known axis. Do not guess the face or axis. Example: 55/45. Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"60/40",
[
60,
40
]
],
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"exclusiveMinimum": 0,
"exclusiveMaximum": 1
},
{
"type": "number",
"exclusiveMinimum": 1,
"maximum": 100
},
{
"type": "string",
"minLength": 1,
"maxLength": 80
}
],
"description": "Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"55/45",
0.55,
"0.55/0.45"
]
},
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": [
"number",
"string"
]
}
}
]
},
"house": {
"description": "Optional: return only PSA/BGS/CGC/SGC. Case/outer spaces accepted. TAG excluded; never substitute a different house. Example: PSA.",
"examples": [
"PSA"
],
"type": "string",
"enum": [
"PSA",
"BGS",
"CGC",
"SGC"
]
},
"front": {
"type": "object",
"properties": {
"lr": {
"description": "Known left/right ratio. Example: 55/45.",
"examples": [
"55/45"
],
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"exclusiveMinimum": 0,
"exclusiveMaximum": 1
},
{
"type": "number",
"exclusiveMinimum": 1,
"maximum": 100
},
{
"type": "string",
"minLength": 1,
"maxLength": 80
}
],
"description": "Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"55/45",
0.55,
"0.55/0.45"
]
},
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": [
"number",
"string"
]
}
}
]
},
"tb": {
"description": "Known top/bottom ratio. Example: 60/40.",
"examples": [
"60/40"
],
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"exclusiveMinimum": 0,
"exclusiveMaximum": 1
},
{
"type": "number",
"exclusiveMinimum": 1,
"maximum": 100
},
{
"type": "string",
"minLength": 1,
"maxLength": 80
}
],
"description": "Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"55/45",
0.55,
"0.55/0.45"
]
},
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": [
"number",
"string"
]
}
}
]
}
},
"additionalProperties": false,
"description": "Alternative nested form; supply lr and/or tb, never mix with the corresponding flat keys. Example: {lr:'55/45',tb:'60/40'}.",
"examples": [
{
"lr": "55/45",
"tb": "60/40"
}
],
"anyOf": [
{
"required": [
"lr"
]
},
{
"required": [
"tb"
]
}
]
},
"back": {
"type": "object",
"properties": {
"lr": {
"description": "Known left/right ratio. Example: 55/45.",
"examples": [
"55/45"
],
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"exclusiveMinimum": 0,
"exclusiveMaximum": 1
},
{
"type": "number",
"exclusiveMinimum": 1,
"maximum": 100
},
{
"type": "string",
"minLength": 1,
"maxLength": 80
}
],
"description": "Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"55/45",
0.55,
"0.55/0.45"
]
},
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": [
"number",
"string"
]
}
}
]
},
"tb": {
"description": "Known top/bottom ratio. Example: 60/40.",
"examples": [
"60/40"
],
"anyOf": [
{
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"exclusiveMinimum": 0,
"exclusiveMaximum": 1
},
{
"type": "number",
"exclusiveMinimum": 1,
"maximum": 100
},
{
"type": "string",
"minLength": 1,
"maxLength": 80
}
],
"description": "Known face/axis ratio. Examples: 55/45, 0.55, [55,45] (service alternative). A percentage within 0–100 (55 or 45; 1 is ambiguous and rejected), a fraction between 0 and 1 (0.55), or a pair summing to 100 or 1. Separators: / - – — : x or spaces; optional %. Axis suffix L/R or left/right for *_lr, T/B or top/bottom for *_tb. Normalized to the larger side; fractions are disclosed in normalizations.",
"examples": [
"55/45",
0.55,
"0.55/0.45"
]
},
{
"minItems": 2,
"maxItems": 2,
"type": "array",
"items": {
"type": [
"number",
"string"
]
}
}
]
}
},
"additionalProperties": false,
"description": "Alternative nested form; supply lr and/or tb, never mix with the corresponding flat keys. Example: {lr:'55/45',tb:'60/40'}.",
"examples": [
{
"lr": "55/45",
"tb": "60/40"
}
],
"anyOf": [
{
"required": [
"lr"
]
},
{
"required": [
"tb"
]
}
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"anyOf": [
{
"required": [
"front_lr"
]
},
{
"required": [
"front_tb"
]
},
{
"required": [
"back_lr"
]
},
{
"required": [
"back_tb"
]
},
{
"required": [
"front"
]
},
{
"required": [
"back"
]
}
]
}