{
	"protocolVersion": "0.2.0",
	"name": "Skyskraber",
	"description": "Skyskraber is a real-time 2D Danish chat world with rooms, avatars, a marketplace, quests, mini-games, apartments and bots. This card describes the public, read-only API surface (OAuth 2.0 + PKCE) for agents to look up users, rooms, statistics and marketplace data.",
	"version": "1.0.0",
	"url": "https://www.skyskraber.dk",
	"documentationUrl": "https://www.skyskraber.dk/udviklere",
	"provider": {
		"organization": "Skyskraber",
		"url": "https://www.skyskraber.dk"
	},
	"defaultInputModes": ["application/json"],
	"defaultOutputModes": ["application/json"],
	"capabilities": {
		"streaming": false,
		"pushNotifications": false,
		"stateTransitionHistory": false
	},
	"securitySchemes": {
		"oauth2": {
			"type": "oauth2",
			"flows": {
				"authorizationCode": {
					"authorizationUrl": "https://www.skyskraber.dk/api/oauth/authorize",
					"tokenUrl": "https://www.skyskraber.dk/api/oauth/token",
					"refreshUrl": "https://www.skyskraber.dk/api/oauth/token",
					"scopes": {
						"user:profile:read": "Read basic profile (username, level, avatar, online status)",
						"marketplace:read": "Read market prices and sales history",
						"statistics:read": "Read server statistics and leaderboards",
						"rooms:read": "Read room information",
						"app:users:read": "View users connected to your application"
					}
				}
			}
		}
	},
	"security": [{ "oauth2": ["user:profile:read"] }],
	"skills": [
		{
			"id": "get-user-profile",
			"name": "Get user profile",
			"description": "Fetch a public profile (username, level, avatar, online status) for a Skyskraber user by numeric id.",
			"tags": ["user", "profile"],
			"inputModes": ["application/json"],
			"outputModes": ["application/json"]
		},
		{
			"id": "get-online-count",
			"name": "Get online user count",
			"description": "Fetch the current count of visible online users in Skyskraber.",
			"tags": ["statistics", "realtime"],
			"inputModes": ["application/json"],
			"outputModes": ["application/json"]
		},
		{
			"id": "get-marketplace-price",
			"name": "Get marketplace price",
			"description": "Fetch the current market price for an item or wearable by type and numeric id.",
			"tags": ["marketplace", "economy"],
			"inputModes": ["application/json"],
			"outputModes": ["application/json"]
		},
		{
			"id": "list-rooms",
			"name": "List public rooms",
			"description": "List public Skyskraber rooms with optional search.",
			"tags": ["rooms", "discovery"],
			"inputModes": ["application/json"],
			"outputModes": ["application/json"]
		}
	]
}
