https://json-schema.org/ todos los ejemplos paso a paso aqui https://json-schema.org/learn/getting-started-step-by-step.html Here is an example schema, illustrating the use of "contentEncoding" and "contentMediaType": { "type": "string", "contentEncoding": "base64", "contentMediaType": "image/png" } Instances described by this schema are expected to be strings, and their values should be interpretable as base64-encoded PNG images. Another example: { "type": "string", "contentMediaType": "text/html" } eng:This example describes a JWT that is MACed using the HMAC SHA-256 algorithm, and requires the "iss" and "exp" fields in its claim set. spanish: Este ejemplo describe un JWT que se utiliza en MAC con el algoritmo HMAC SHA-256 y requiere los campos "iss" y "exp" en su conjunto de notificaciones. { "tipo": "cadena", "contentMediaType": "aplicaciĆ³n/jwt", "contentSchema": { "tipo": "matriz", "minItems": 2, "prefixItems": [ { "const": { " tipo": "JWT", "alg": "HS256" } }, { "tipo": "objeto", "requerido": ["iss", "exp"], "propiedades": { "iss": {"tipo": "cadena"}, "exp": {"tipo": "entero"} } } ] } }