Creating Schemas with the Schema Builder
The AIR Kit Schema Builder provides an intuitive interface for creating credential schemas without requiring technical knowledge of JSON schema structures.Step 1: Access the Schema Builder
- Go to the Developer Dashboard
- Navigate to the Schemas section under Issuer

Step 2: Create a New Schema
- Click “Create New Schema”
- Fill in the basic schema information:
- Title: Choose a descriptive name for your schema
- Type: Select or enter a category for your credential type
- Description: Provide a clear explanation of what this schema represents
Step 3: Define Attributes
- Click ”+” to add attributes
- For each attribute, specify:
- Name: Field identifier (use camelCase)
- Type: Choose from String, Number, Boolean, or Date
- Description: Explain what this field represents
- Required: Mark if the field is mandatory
Step 4: Publish Your Schema
- Review your schema structure
- Click “Publish” to make it available for credential creation
- Note the schema ID for use in your applications

Schema Builder Best Practices
1. Choose Descriptive Names
- Use clear, descriptive names for your schema title and attributes
- Avoid abbreviations that might be unclear to other developers
- Example:
"memberId"instead of"mem_id"
2. Provide Clear Descriptions
- Write detailed descriptions for each attribute
- Explain the purpose and expected format of each field
- Include any validation rules or constraints
3. Use Appropriate Data Types
- String: For text data, IDs, names, descriptions
- Number: For numeric values, ages, quantities, scores
- Boolean: For true/false values, flags, status indicators
- Date: For timestamps, expiry dates, event dates
4. Consider Privacy Requirements
- Only include fields that are necessary for your use case
- Remember that users can selectively disclose fields
- Avoid collecting sensitive data unless absolutely required
5. Plan for Future Updates
- Consider how your schema might evolve over time
- Use versioning to manage schema changes
- Design attributes to be extensible