RS Legacy · Schema

RS Legacy Electronics Product

Schema for a RadioShack / RS Legacy consumer electronics or component product

Consumer ElectronicsRetailElectronics ComponentsRadioShack

Properties

Name Type Description
productId string Unique product identifier
sku string RadioShack Stock Keeping Unit number
productName string Product display name
brand string Product brand (RadioShack or third-party)
category string Primary product category
subcategory string Product subcategory
description string Product description
partNumber string Manufacturer part number
price number Retail price in USD
availability string Stock availability status
specifications object Technical specifications as key-value pairs
imageUrl string Product image URL
productUrl string Product page URL on radioshack.com
View JSON Schema on GitHub

JSON Schema

rs-legacy-product-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/rs-legacy/main/json-schema/rs-legacy-product-schema.json",
  "title": "RS Legacy Electronics Product",
  "description": "Schema for a RadioShack / RS Legacy consumer electronics or component product",
  "type": "object",
  "properties": {
    "productId": {
      "type": "string",
      "description": "Unique product identifier"
    },
    "sku": {
      "type": "string",
      "description": "RadioShack Stock Keeping Unit number",
      "examples": ["270-0325", "64-021"]
    },
    "productName": {
      "type": "string",
      "description": "Product display name"
    },
    "brand": {
      "type": "string",
      "description": "Product brand (RadioShack or third-party)",
      "examples": ["RadioShack", "Archer", "Realistic"]
    },
    "category": {
      "type": "string",
      "description": "Primary product category",
      "enum": [
        "batteries",
        "cables-connectors",
        "components",
        "computers-tablets",
        "drones-rc",
        "home-audio",
        "phones",
        "power",
        "radio-scanners",
        "security",
        "tools",
        "two-way-radios",
        "wearables"
      ]
    },
    "subcategory": {
      "type": "string",
      "description": "Product subcategory"
    },
    "description": {
      "type": "string",
      "description": "Product description"
    },
    "partNumber": {
      "type": "string",
      "description": "Manufacturer part number"
    },
    "price": {
      "type": "number",
      "description": "Retail price in USD",
      "minimum": 0
    },
    "availability": {
      "type": "string",
      "description": "Stock availability status",
      "enum": ["in-stock", "out-of-stock", "discontinued", "limited"]
    },
    "specifications": {
      "type": "object",
      "description": "Technical specifications as key-value pairs",
      "additionalProperties": {
        "type": "string"
      }
    },
    "imageUrl": {
      "type": "string",
      "format": "uri",
      "description": "Product image URL"
    },
    "productUrl": {
      "type": "string",
      "format": "uri",
      "description": "Product page URL on radioshack.com"
    }
  },
  "required": ["productName", "category", "availability"]
}